paktahn icon indicating copy to clipboard operation
paktahn copied to clipboard

Non-AUR package results from queries are not in alphabetic order

Open kingcons opened this issue 14 years ago • 0 comments

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.

kingcons avatar Jan 06 '11 23:01 kingcons