# enableMultiSort

Compatibility alias for multiple sorting. Keep it consistent with multiSort.

Canonical: https://grid.syidax.com/docs/options/enableMultiSort/

<a id="meaning"></a>

## What does this API do?

Compatibility alias for multiple sorting. Keep it consistent with multiSort.

<a id="contract"></a>

## Exact input and result types

```typescript
enableMultiSort: boolean
```

| Item | Value |
| --- | --- |
| JavaScript name | enableMultiSort |
| HTML attribute | enable-multi-sort |
| Default | false |
| Input type | boolean |

<a id="usage"></a>

## Usage flow

Set this on a property of the Grid element. In HTML, you can also use the enable-multi-sort attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

<a id="recipes"></a>

## Feature explanations and examples

- [Single and multiple sorting](https://grid.syidax.com/docs/features/sorting.md) — Sorting changes display order without modifying data values. Single sorting uses one criterion; multiple sorting uses prioritized criteria.
