# SectionIdentifier Sort Clause

The [`SectionIdentifier` Sort Clause](https://doc.ibexa.co/en/latest/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-SortClause-SectionIdentifier.html) sorts search results by the Section IDs of the content items.

## Arguments

- (optional) `sortDirection` - Query or LocationQuery constant, either `Query::SORT_ASC` or `Query::SORT_DESC`

Note

Solr search engine uses the `Query::SORT_DESC` sort direction by default.

## Example

```
$query = new LocationQuery();
$query->sortClauses = [new SortClause\SectionIdentifier()];
```
