> For the complete documentation index, see [llms.txt](https://docs.navigaglobal.com/oc-list/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.navigaglobal.com/oc-list/admin/config/change-order-of-search-result.md).

# Change order of search result

In list/package-options you have the ability to change which key sorting is made on, as well as if the result should be displayed in ascending/descending order.

```typescript
{
    "search": {
        "sortProperty": "updated",
        "sortAscending": false,
        [...]
    }
}
```

|               |                                                       |         |
| ------------- | ----------------------------------------------------- | ------- |
| sortProperty  | OC property to sort on                                | string  |
| sortAscending | Whether sort result should be ascending or descending | boolean |
