<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [setSort](./x-components.setsort.md)

## setSort variable

Sets the search state `sort`<!-- -->.

**Signature:**

```typescript
setSort: import("../../wiring").Wire<string>
```
