You could also investigate Tie::IxHash.
Cheers,
JohnGG
In reply to Re: Not in order in Hash output by johngg in thread Not in order in Hash output by truthseeker66