Shawn
val grouped: Map<TypeA, MutableList<TypeB>> = listOfTypeB.groupByTo(mutableMapOf()) { TypeA(it.a) }