<@U0L2E3CLR>: That's definitely not safe - it uses...
# announcements
a
@richardagreen: That's definitely not safe - it uses the old map to sort the new map. Maybe
m.asSequence().associateByTo(TreeMap(), { it.value }, { it.key })