It takes a lambda with an element as the receiver....
# announcements
m
It takes a lambda with an element as the receiver. Its signature is probably something like this:
fun <T, R : Comparable<R>> List<T>.orderBy(f: T.() -> R): List<T>
.