cedric
val l = listOf("a", "bb", "ccc", "bb", "ccc", "ccc") l.groupBy { it.length }.map { e -> e.value[0] to e.key } -> [(a, 1), (bb, 2), (ccc, 3)]