lambda表达式排序
按照中文排序
List<class> chsAsc=chs.stream().sorted(Comparator.comparing([class]::[getField], Collator.getInstance(Locale.CHINESE))).collect(Collectors.toList());
按照英文排序
List<class> ensAsc=ens.stream().sorted(Comparator.comparing(class::getField,Collator.getInstance(Locale.ENGLISH))).collect(Collectors.toList());
按照指定字段排序
List<class> numsAsc=nums.stream().sorted(Comparator.comparing(class::getField)).collect(Collectors.toList());
如使用倒叙: Comparator.comparing(class::getField).reversed()