portage-utils
portage-utils copied to clipboard
Fix inconsistent ordering in `qlist -Ik`
This change makes the ordering consistent between qlist -I, qlist -Ik and qlist -It: packages are ordered by CAT/PN alphabetically, then by PF, newer versions coming first in the list.
The Packages file used by qlist -Ik contains its entries ordered by CAT/PN first, and then by PF ascending second. This made it inconsistent with the other outputs as the versions of the same package appear in the opposite order.