IterableSortedBy<E> extension

on

Methods

sortedBy(Comparable selector(E element)) SortedList<E>

Available on Iterable<E>, provided by the IterableSortedBy extension

Returns a new list with all elements sorted according to natural sort order of the values returned by specified selector function.