Looks as though you are correct. I took out the zsql:field part of the XML parsing, and am now getting the fields in order. Just need to fix the SQL statement building now, and I'll be good to go. Will post the final code tomorrow.
Thanks! I appreciate the time you took to look at this...
amonotod
Comment on Re^2: XML::Simple and default sorting...