Sort::Key provides a set of functions to sort object arrays by some
(calculated) key value.

WWW: https://metacpan.org/release/Sort-Key
