@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 563 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SearchMutations](./x-components.searchmutations.md) > [setSort](./x-components.searchmutations.setsort.md)
## SearchMutations.setSort() method
Sets the selected sort option of the module.
**Signature:**
```typescript
setSort(sort: Sort): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| sort | Sort | The new sort. |
**Returns:**
void