you could also do something like this: ```data cla...
# getting-started
k
you could also do something like this:
Copy code
data class Item(val type: Int, val value: String)
val l = mutableListOf(Item(1, "header"), Item(2, "c"), Item(2, "a"), Item(2, "b")).sortedWith(compareBy({ it.type }, { it.value }))
println(l)