RT#86504 - fix sort order of generators

This is a recreation of https://github.com/daxim/Module-CPANTS-Analyse/pull/12

https://rt.cpan.org/Ticket/Display.html?id=86504

There is workaround code in Test::Kwalitee that I would like to remove, once this is in.