getSortedRowModel

fun <TData> getSortedRowModel(): (table: Table<TData>) -> () -> RowModel<TData>

Builds the sorted row-model factory. The returned function is invoked once per Table and produces a memoised getter for the sorted RowModel.

When the pre-sorted model is empty, or no sorting is active, the pre-sorted model is returned unchanged.