sortContentBy

fun <R : Comparable<R>> sortContentBy(reverse: Boolean = false, selector: (E) -> R?)

Defines the sort behaviour which gets applied to the content automatically.