in reply to
How to sort a AoH reference
my guess is, change $sorted into @sorted.
Prasad
Comment on
Re: How to sort a AoH reference
In Section
Seekers of Perl Wisdom