# SectionIdentifier Sort Clause

> For the complete documentation index, see [llms.txt](https://doc.ibexa.co/en/saas/llms.txt).

SectionIdentifier Sort Clause

The `SectionIdentifier` Sort Clause sorts search results by the Section IDs of the content items.

## Arguments

- (optional) sorting direction, either `ascending` (default) or `descending`

> **Note: Note**
>
> This Sort Clause uses the `descending` sort direction by default.

## Example

You can use this Sort Clause over the REST API, in the `SortClauses` element of the payload of the [`POST /views`](https://doc.ibexa.co/en/saas/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Views/operation/ibexa.rest.views.create) request:

**XML**

```xml
<Query>
    <SortClauses>
        <SectionIdentifier>ascending</SectionIdentifier>
    </SortClauses>
</Query>
```

**JSON**

```json
"Query": {
    "SortClauses": {
        "SectionIdentifier": "ascending"
    }
}
```
