The following grammar describes the syntax of the Query.setOrdering( ) argument:
SetOrdering: OrderSpecifications , OrderSpecifications OrderSpecifications: OrderSpecification OrderSpecifications , OrderSpecification OrderSpecification: Expression ascending Expression descending