in reply to
group based array sort
Unless you're intent on reinventing the wheel, something like
Sort::Tree
looks like it does what you want.
Gary Blackburn
Trained Killer
Comment on
Re: group based array sort
In Section
Seekers of Perl Wisdom