//SerialNo sortby (. desc) Should this query work?? Actualy it looks as if does not really matter what do i write inside the brackets, it doesn’t sort the results. I am working with 2.3.1.4 and 2.2.1.9, diferent mappings and data types… same results, so i believe i am missing some obvious point.
I believe you perform intra-document sort (sort nodes within a document). You have one SerialNo element per Item element. That is why Tamino does not sort anything.
To sort documents you should use sort clause immediately after a root node.
I think this one will work
Item sortby (SerialNo)/SerialNo
By the way, why do all the documents have the same ino:id?