I don't think that XML specifies an order for attributes. In your case, the attributes are named in a way that you can just use sort to sort the steps. I would do that to sort them and then step through them.
In reply to Re: How to get the values from XML/Text file in a specific order?
by Corion
in thread How to get the values from XML/Text file in a specific order?
by vasuperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |