java how to sort a list by a field with locale

java how to sort a list by a field with locale
refer to‮‬:lautturi.com
Collator coll = Collator.getInstance(new Locale("tr","TR"));
coll.setStrength(Collator.PRIMARY);
List<AClass> sorted = names.stream()
                           .sorted(Comparator.comparing(AClass::getName,coll))
                           .collect(Collectors.toList());
Created Time:2017-09-30 17:16:01  Author:lautturi