sub byage { $age{$a} <=> $age{$b}; } @sorted = sort byage @class; [download]
In reply to Re: sort empty string by LameNerd in thread sort empty string by Anonymous Monk