paktahn
paktahn copied to clipboard
Non-AUR package results from queries are not in alphabetic order
For example, the output of pacman -Ss gnupg and pak -Ss gnupg (ignoring AUR packages) are not in the same order. This occurs because the cache is constructed in reverse alphabetical order and we traverse it front to back with map-cached-packages. My first idea for a simple fix, switching the push-end calls in get-package-results to push, doesn't work as it successfully alphabetizes the package names while inverting the ordering of repos from core->extra->community to community->extra->core.
This probably isn't an issue which concerns too many folks. Low priority.