public class ChinaSort { public static void main(String[] args) { sortCollection(); } private static void sortArray() { String[] strings = {"张三", "李四", "王五"}; Arrays.sort(strings,CHINA_COMPOR); for(String str:strings) System.out.println(str); } private static void sortCollection() { List<String> strings = Arrays.asList("张三", "李四", "王五"); Collections.sort(strings,CHINA_COMPOR); for(String str:strings) System.out.println(str); } private static final Comparator CHINA_COMPOR=Collator.getInstance(Locale.CHINA); }