# Random Sort Clause

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

Random Sort Clause

The `Random` Sort Clause orders search results randomly.

## Arguments

- (optional) `seed` - int representing the random seed
- (optional) `sortDirection` - Query or LocationQuery constant, either `Query::SORT_ASC` or `Query::SORT_DESC`

## Limitations

In Elasticsearch engine, you cannot combine the `Random` Sort Clause with any other Sort Clause.
