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