http://www.perlmonks.org?node_id=998302


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: