in reply to Re^5: Sort xml nodes by schema
in thread Sort xml nodes by schema

it does the job

i searched a bit and i am surprised there is no option for XMLout that does this

Thanks again