📅  最后修改于: 2022-03-11 14:52:29.556000             🧑  作者: Mango
Collator coll = Collator.getInstance(new Locale("tr","TR"));
coll.setStrength(Collator.PRIMARY);
List sorted = names.stream()
.sorted(Comparator.comparing(AClass::getName,coll))
.collect(Collectors.toList());