在Java中对数据排序
List<Map<String, Object>> alls = new ArrayList<Map<String, Object>>();
alls = alls
.stream()
.sorted(Comparator.comparing(temporary -> (String) temporary.get("customerName"), Comparator.nullsLast(Comparator.naturalOrder())))
.collect(Collectors.toList());