Friday

Sort list of strings by using Localization

import java.text.Collator;

List<String> yourValues = ;
Collections.sort(yourValues, Collator.getInstance(Locale.forLanguageTag("your locale ")));

See Collator interface.

No comments:

Post a Comment