Query JCR in exact or like it is in JCR
Hello everyone,
I query the JCR with the following query:
String queryString = "SELECT * FROM [nt:unstructured] AS node WHERE ISDESCENDANTNODE(node,'" + subPagePath + "') AND (NAME() like 'headline%' or NAME() like 'text%' or NAME() like'image%')";
It works as expected but the ordering of the nodes is not like the ordering in crxde. Is there a way to get the elements in the exact same ordering like in crxde?
I want to recreate the structure of a Page and deliver it to another App.
So if there is this structure:

It should be:
- headline
- text
- text
- image
- text
Br,
Tim