sorted library

Classes

DefaultSortingStrategy<T>
A SortingStrategy which uses Dart's default (unstable) sorting method.
MergeSortingStrategy<T>
A SortingStrategy which uses merge sort, a stable sorting algorithm.
SortedComparable<T, P extends Comparable?>
Sorting rule that uses Comparable.compare to compare two items. Considers two nulls equal and one null always lesser than other values.
SortedComparator<T, P>
Sorting rule that uses a custom comparator.
SortedGroupOrdered<T, P>
Sorting rule that sorts items in the same order as the order of the group in orderGroups in which the value is present. Values in the same group are considered equal.
SortedOrdered<T, P>
Sorting rule that sorts items in the same order as the values in order are present.
SortedRule<T, P>
A rule describing how to compare two properties.
SortingStrategy<T>
Strategy performing the final sorting procedure given a list and a single comparator.

Extensions

Sorted on Iterable<T>

Typedefs

SortedMapper<T, P> = P Function(T)