in reply to Not in order in Hash output

You could also investigate Tie::IxHash.

Cheers,

JohnGG