源码贴出来:
Comparator comp = Collator.getInstance(java.util.Locale.CHINA);
String[] arr = {"张三","王五","赵六","孙钱"};
Arrays.sort(arr, comp);
for(int i=0;i<arr.length;i++){
System.out.println(arr[i]);
}
转载于:https://www.cnblogs.com/xinzhuangzi/archive/2010/06/04/4100591.html