java ListMap排序


list.stream().sorted(Comparator.comparing(map -> Integer.parseInt(map.get("monthtime").toString()))).collect(Collectors.toList());
List> lista = list.stream().sorted(Comparator.comparing(map -> Integer.parseInt(map.get("aa").toString()))).collect(Collectors.toList());
List> sScore = lstMap.stream().sorted(
	Comparator.comparing(
		m -> {
				BigDecimal sScore1 = Convert.toBigDecimal(m.get("sScore").toString());
				return sScore1;
		})
).collect(Collectors.toList());

Collections.reverse(sScore);