foreach my $grp (sort keys %grp_advise) { #some stuff }
Sort the keys of the hash and do whatever is in the foreach loop to each of them :)
----------
My cow-orkers were talking in punctuation the other day. What disturbed me most was that I understood it.
In reply to Re: hash unorderly output
by Nevtlathiel
in thread hash unorderly output
by whatluo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |