Sort::Sub and "Sort::Sub::*" are a convenient packaging of any kind of subroutine which you can use for "sort()". WWW: https://metacpan.org/release/Sort-Sub