List数组按首字母排序

Collections.sort(list, (a, z) -> a.compareTo(z));

posted @ 2019-07-22 17:33  叶落の无痕  阅读(2182)  评论(0编辑  收藏  举报