使用List.sort()方法(Java8+推荐)这是最现代、最简洁的方法,直接在List对象上进行排序,会原地修改(in-placesort)列表本身,核心思想:List.sort()方法接受一个Comparator...