---
title: "SearchSortOptions"
slug: "cloud-sdk-search-searchsortoptions-1539446"
abstract: "The SearchSortOptions interface represents the sort parameter of the search widget item. Used to configure the sorting of search results."
---
# SearchSortOptions

|     |     |
| --- | --- |
| Type | Interface |
| Import path | `@sitecore-cloudsdk/search/server` |

The sort parameter of the search widget item. Used to configure the sorting of search results.

## Signature

```typescript
export interface SearchSortOptions {
  choices?: boolean;
  value?: ArrayOfAtLeastOne<SortValue>;
}
```

## Properties

| Name | Type | Description | Value |
| --- | --- | --- | --- |
| `choices` | `boolean` | Optional.<br><br>If set to `true`, the response will contain a list of available sort choices for this request. You can use this list to allow users to select the type of sort they want to use. | `true` |
| `value` | [`SortValue[]`](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-reference/cloud-sdk-search/cloud-sdk-search-server/interfaces/cloud-sdk-search-sortvalue.md "SortValue") | Optional.<br><br>The sort parameter of the search widget item.<br><br>Minimum length: 1. | N/A |