in reply to Not in order in Hash output
Hashes have no particular internal order, though you can sort the keys and loop through them.
See also: