# Visibility Sort Clause

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

Visibility Sort Clause

The `Location\Visibility` Sort Clause sorts search results by whether the location is visible or not.

Locations that aren't visible are ranked as higher values (for example, with ascending order they're returned last).

## Arguments

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