> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# ISortItem

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: type-alias
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/execution/base/sort.ts

Sort items can be used to specify how the result of an execution should be sorted.

**Signature:**

```typescript
export type ISortItem = IAttributeSortItem | IMeasureSortItem;
```
**References:** [IAttributeSortItem](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iattributesortitem/index.md), [IMeasureSortItem](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.imeasuresortitem/index.md)

## Remarks

Sorting can be done by attribute value and/or by value of a measure.
