[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#988982: apt-utils: does not sort the numbers correctly. Should be smallest to largest.

Control: severity -1 wishlist

Salman Mohammadi <salman@smoha.org> writes:

> Package: elpa-debian-el
> Version: 37.10
> Severity: normal
> X-Debbugs-Cc: salman@smoha.org
> Dear Maintainer,
> the command `apt-utils-search` does not sort the numbers based on integer value
> from smallest to largest.
> How to reproduce:
> -----------------
>  1. M-x apt-utils-search
>  2. Search packages for regexp: google-android-platform

Since the function does not promise any particular order, and the order
matches "apt search" on the command line, this seems more like a request
for an enhancement. I guess sorting by version might be possible,
although not trivial due to versions being complicated. Sorting by some
number embedded in the package name sounds messy.


Reply to: