good chemistry is complicated,
and a little bit messy -LW
Re: sorting Array of hashesby Happy-the-monk (Abbot)
|on Apr 03, 2012 at 08:48 UTC||Need Help??|
Why do you want to stort it?
The hash just stores your data, when you have it printed out, that's just one particular form of representation.
You may need sorting when you extract the data from the hash then.
Your example looks a bit like Data::Dumper output. If my assumtion is right, setting $Data::Dumper::Sortkeys = 1; will probably do what you want.
If it is more complicated, you will have to use the sort funtion.