The UserLogin
Sort Clause
sorts the results of searching in Trash by the login of the content item's creator.
- (optional)
sortDirection
- Query constant, eitherQuery::SORT_ASC
orQuery::SORT_DESC
$query = new Query();
$query->sortClauses = [new SortClause\Trash\UserLogin()];