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 8.5.2.4 Pseudo-property, 6.6.3.5 Ordering Specifier and 6.6.5.5 order by Clause.