common/dart/collection/sort_functions
library
Functions
-
byBoolField<T>(bool fieldProvider(T func), {bool reverse = false})
→ int Function(T, T)
-
-
byDateField<T>(DateTime fieldProvider(T func), {bool reverse = false})
→ int Function(T, T)
-
-
byDateFieldWithDiffTypes<A, B>(DateTime fieldAProvider(A func), DateTime fieldBProvider(B func), {bool reverse = false})
→ int Function(A, B)
-
-
byDoubleField<T>(double fieldProvider(T func), {bool reverse = false})
→ int Function(T, T)
-
-
byIntField<T>(int fieldProvider(T func), {bool reverse = false})
→ int Function(T, T)
-
-
byStringField<T>(String fieldProvider(T func))
→ int Function(T, T)
-