double sortby possible ?

Sorry I posted in the wrong section first :frowning: but could not delete the post… So here it is appropriate :

Hello, I have the following document and wonder whether I can retrieve all the “A” sorted, first, by B, then by @C. (If two A have the same value for B, sort them by @C).

<C @C=“c”/>

[series of other ]

I use version 3.1.1 of Tamino. Thanks.

Try the following query…

root/A sortby (.,./B,./C/@C)