Hacker News new | ask | show | jobs
by Scene_Cast2 3658 days ago
Oops, copied the wrong snippet out of the two:

    inline fun <T, R : Comparable<R>> Array<out T>.sortBy(
    crossinline selector: (T) -> R?) (source)