applySorting
applySorting<
TData>(data,sortingState):TData[]
Defined in: packages/core/src/helpers/sorting.ts:94
Applies sorting to a plain data array based on TanStack’s sorting state, inferring numeric/date/alphabetical comparison from the sampled value type.
Type Parameters
Section titled “Type Parameters”TData extends Record<string, unknown>
Parameters
Section titled “Parameters”TData[]
sortingState
Section titled “sortingState”SortingState
Returns
Section titled “Returns”TData[]