in reply to Re^6: top ten things every Perl hacker should know
in thread top ten things every Perl hacker should know

We sort of have a sort_by method in Sort::Maker. But I've never liked the api

you should try Sort::Key, it has a very simple API and it's faster and uses less memory than any other perl sorting technique:

use Sort::Key qw(keysort); my @sorted = keysort { genkey($_) } @data;