# sortFn_basic

# Variable: sortFn\_basic

```ts
const sortFn_basic: CreatedSortFn<any, any>;
```

Defined in: [features/row-sorting/sortFns.ts:133](https://github.com/TanStack/table/blob/main/packages/table-core/src/features/row-sorting/sortFns.ts#L133)

Sorts rows with the built-in basic strategy.

This comparator returns ascending-order results; descending order is applied by the sorting row model.
