So... What is your rule to determine the desired sort order? If it's not insertion order, then you might decide to just sort the keys. See the FAQ: How do I sort a hash (optionally by value instead of key)?
In reply to Re: Specify Output of Keys in Hash
by bart
in thread Specify Output of Keys in Hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |