in reply to Not in order in Hash output

perlintro
Hashes have no particular internal order, though you can sort the keys and loop through them.

See also: