const sortFns: object;Defined in: fns/sortFns.ts:231
The built-in sorting function registry.
Pass this object to sorted row model creation or extend it with custom sorting functions.
alphanumeric: <TFeatures, TData>(rowA, rowB, columnId) => number = sortFn_alphanumeric;Sorts rows with the built-in alphanumeric strategy.
This comparator returns ascending-order results; descending order is applied by the sorting row model.
TFeatures extends TableFeatures
TData extends RowData
Row\<`TFeatures`, `TData`\>
Row\<`TFeatures`, `TData`\>
string
number
alphanumericCaseSensitive: <TFeatures, TData>(rowA, rowB, columnId) => number = sortFn_alphanumericCaseSensitive;Sorts rows with the built-in alphanumeric case sensitive strategy.
This comparator returns ascending-order results; descending order is applied by the sorting row model.
TFeatures extends TableFeatures
TData extends RowData
Row\<`TFeatures`, `TData`\>
Row\<`TFeatures`, `TData`\>
string
number
basic: <TFeatures, TData>(rowA, rowB, columnId) => -1 | 0 | 1 = sortFn_basic;Sorts rows with the built-in basic strategy.
This comparator returns ascending-order results; descending order is applied by the sorting row model.
TFeatures extends TableFeatures
TData extends RowData
Row\<`TFeatures`, `TData`\>
Row\<`TFeatures`, `TData`\>
string
-1 | 0 | 1
datetime: <TFeatures, TData>(rowA, rowB, columnId) => -1 | 0 | 1 = sortFn_datetime;Sorts rows with the built-in datetime strategy.
This comparator returns ascending-order results; descending order is applied by the sorting row model.
TFeatures extends TableFeatures
TData extends RowData
Row\<`TFeatures`, `TData`\>
Row\<`TFeatures`, `TData`\>
string
-1 | 0 | 1
text: <TFeatures, TData>(rowA, rowB, columnId) => -1 | 0 | 1 = sortFn_text;Sorts rows with the built-in text strategy.
This comparator returns ascending-order results; descending order is applied by the sorting row model.
TFeatures extends TableFeatures
TData extends RowData
Row\<`TFeatures`, `TData`\>
Row\<`TFeatures`, `TData`\>
string
-1 | 0 | 1
textCaseSensitive: <TFeatures, TData>(rowA, rowB, columnId) => -1 | 0 | 1 = sortFn_textCaseSensitive;Sorts rows with the built-in text case sensitive strategy.
This comparator returns ascending-order results; descending order is applied by the sorting row model.
TFeatures extends TableFeatures
TData extends RowData
Row\<`TFeatures`, `TData`\>
Row\<`TFeatures`, `TData`\>
string
-1 | 0 | 1