Table Docs
API Reference
Table API Reference
Column API Reference
Row API Reference
Cell API Reference
Header API Reference
Features API Reference
- stockFeatures
- coreFeatures
- coreCellsFeature
- coreColumnsFeature
- coreHeadersFeature
- coreRowModelsFeature
- coreRowsFeature
- coreTablesFeature
- cellSpanningFeature
- columnFilteringFeature
- columnFacetingFeature
- rowAggregationFeature
- columnGroupingFeature
- columnOrderingFeature
- columnPinningFeature
- columnResizingFeature
- columnSizingFeature
- columnVisibilityFeature
- globalFilteringFeature
- rowExpandingFeature
- rowPaginationFeature
- rowPinningFeature
- rowSelectionFeature
- rowSortingFeature
- filterFns
- sortFns
- aggregationFns
- ColumnFilter
- ColumnPinningState
- ColumnSort
- PaginationState
- RowPinningState
- columnResizingState
- FilterFn
- FilterFns
- FilterMeta
- SortFn
- SortFns
- AggregationFns
- AggregationContext
- AggregationMergeContext
- AggregationFnDef
- AggregationFnDescriptor
- AggregationValueContext
- AggregationValueResult
- constructAggregationFn
- ColumnFiltersState
- ColumnOrderState
- ColumnPinningPosition
- ColumnResizeDirection
- ColumnResizeMode
- ColumnSizingState
- ColumnVisibilityState
- ExpandedState
- GroupingState
- RowPinningPosition
- RowSelectionState
- SortDirection
- SortingState
- AggregationFnOption
- AggregationResult
- FilterFnOption
- SortFnOption
- BuiltInAggregationFn
- BuiltInFilterFn
- BuiltInSortFn
Static Functions API Reference
Legacy API Reference
- Legacy API Overview
- useLegacyTable
- legacyCreateColumnHelper
- getCoreRowModel
- getFilteredRowModel
- getSortedRowModel
- getGroupedRowModel
- getExpandedRowModel
- getPaginationRowModel
- getFacetedRowModel
- getFacetedMinMaxValues
- getFacetedUniqueValues
- LegacyRowModelOptions
- LegacyTable
- LegacyTableOptions
- LegacyReactTable
- LegacyColumnDef
AI/LLM: This documentation page is available in plain markdown format at/table/latest/docs/reference/index/variables/sortFns.md
Features API Reference
sortFns
ts
const sortFns: object;Defined in: features/row-sorting/sortFns.ts:361
The built-in sorting function registry.
Registering this full object opts out of tree-shaking: every built-in sorting function ends up in your bundle. Prefer importing the sortFn_* functions you actually use and registering just those in the sortFns slot, or passing them directly to the sortFn column option.
Type Declaration#
alphanumeric#
ts
alphanumeric: CreatedSortFn<any, any> = sortFn_alphanumeric;alphanumericCaseSensitive#
ts
alphanumericCaseSensitive: CreatedSortFn<any, any> = sortFn_alphanumericCaseSensitive;basic#
ts
basic: CreatedSortFn<any, any> = sortFn_basic;datetime#
ts
datetime: CreatedSortFn<any, any> = sortFn_datetime;text#
ts
text: CreatedSortFn<any, any> = sortFn_text;textCaseSensitive#
ts
textCaseSensitive: CreatedSortFn<any, any> = sortFn_textCaseSensitive;Deprecated#
Import individual sortFn_* functions instead for a smaller bundle. This export still works and is not going away in v9, but built-in name resolution (including sortFn: 'auto') only finds functions you register yourself.