List 用stream聚合后 排序变乱序解决办法 Map<Object, List<Map<String, Object>>> name = list.stream().collect(Collectors.groupingBy(x -> x.get("name"),LinkedHashMap::new,Collectors.toList()));