def map = [c:96, b: 3, f: 1, e: 17, g: 12, a: 100] map = map.sort() println map /* run: [a:100, b:3, c:96, e:17, f:1, g:12] */
確定! 回上一頁