List<Map<String, Object>> retList = resultList.stream().sorted(
Comparator.comparing(
x -> x.get("col1").toString()
+ x.get("col2").toString()
+ x.get("col3").toString())).collect(Collectors.toList());
List<yourBean> result = list.stream().sorted(
Comparator.comparing(YourBean::getScore).reversed()
.thenComparing(YourBean::getScore2))
.collect(Collectors.toList());
List<Bean> 的处理方式同理