IterableSortByExtensions<T> extension

Sort by multiple keys (thenBy).

on

Methods

sortByThenBy<K extends Comparable<K>>(K keyOf(T), [int thenBy(T a, T b)?]) List<T>

Available on Iterable<T>, provided by the IterableSortByExtensions extension

Sorts by keyOf then by thenBy if present. Returns new list.