回答編集履歴
1
キー順修正、改行
test
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
```java
|
4
4
|
|
5
|
-
lstMaps.sort(Comparator.comparing((Map<String, String> m) -> m.get("
|
5
|
+
lstMaps.sort(Comparator.comparing((Map<String, String> m) -> m.get("TYPE"))
|
6
|
+
|
7
|
+
.thenComparing(Comparator.comparing(m -> m.get("ID")));
|
6
8
|
|
7
9
|
```
|