6.1.2.1.7. Is ordering by jcr:path or Item name supported?

No, it does not supported. There is two ways to ordering results, when path may be used as criteria:

Order by jcr:path

If no order specification is supplied in the query statement, implementations may support document order on the result nodes (see 6.6.4.2 Document Order). And it is sorted by order number.

By default, (if query do not contains any ordering statements) result nodes is sorted by document order.

SELECT * FROM nt:unstructured WHERE jcr:path LIKE 'testRoot/%'

For specified jcr:path ordering there is different proceeding in XPath and SQL:

Copyright ©2012. All rights reserved. eXo Platform SAS