List HashMap 정렬
List<Hash> 정렬
LinkedHashMap<String, Object> linkedHashMap = (LinkedHashMap<String, Object>) result.getData(); //LinkedHashMap;
List<HashMap> list = (List<HashMap>) linkedHashMap.get("데이터key");
list = list.stream().sorted((o1, o2) -> o1.get("컬럼").toString().compareTo(o2.get("컬럼").toString()) ).collect(Collectors.toList());
최신 댓글