# SortDescriptor (@salmonui/data)

> The SortDescriptor interface of @salmonui/data.

Canonical: https://salmonui.dev/docs/reference/data/SortDescriptor

```ts
import type { SortDescriptor } from '@salmonui/data';
```

Entry index: https://salmonui.dev/docs/reference/data (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data.md).

## Reference

Kind: interface

```ts
interface SortDescriptor {
    readonly columnId: ColumnId;
    readonly direction: 'asc' | 'desc';
}
```

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `columnId` | `readonly columnId: ColumnId;` |  |  |
| `direction` | `readonly direction: 'asc' \| 'desc';` |  |  |
