List排序忽略大小写
public List<String> sortListIgnoreCase(List<String> list) {
Collections.sort(list, new Comparator<String>() {
@Override
public int compare(String s1, String s2) {
return s1.compareToIgnoreCase(s2);
}
});
return list;
}