The ORDER BY clause causes the returned QueryResult objects to be sorted according to the value of a particular property.

Implementations must support ordering on jcr:score (or jcr:score(...) depending on the implementation). Support for ordering on PATH and NAME properties is not required. If it is supported then the collation sequence for these types is implementation specific.

See also Pseudo-property, Ordering Specifier and order by Clause.