in reply to Re^5: Sort xml nodes by schemain 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