http://www.perlmonks.org?node_id=478650


in reply to RFC: yet another sorting technique

that is more or less what Sort::Key does, though implemented in C.