# MultiSortConfig

> _Since v0.1.1_

Configuration options for the multi-sort plugin.

Multi-sort allows users to sort by multiple columns simultaneously.
Users add sort columns by Shift+clicking column headers; the headers
display numbered badges (1, 2, 3…) indicating sort precedence.

#### Example

```typescript
new MultiSortPlugin({ maxSortColumns: 5, showSortIndex: true })
```

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| `maxSortColumns?` | <code>number</code> | Maximum number of columns that can be sorted simultaneously. Once the limit is reached, adding a new sort column replaces the oldest one. |
| `showSortIndex?` | <code>boolean</code> | Whether to show numbered badges (1, 2, 3…) on sorted column headers to indicate sort precedence. Disable for a cleaner look when precedence is not important to the user. |

### Property Details

#### maxSortColumns

**Default:** `3`

---

#### showSortIndex

**Default:** `true`

---
