Bug#988982: apt-utils: does not sort the numbers correctly. Should be smallest to largest.
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
The current sorted result:
-------------------------
google-android-platform-10-installer - Google's Android SDK Platform 10
Installer
google-android-platform-11-installer - Google's Android SDK Platform 11
Installer
google-android-platform-12-installer - Google's Android SDK Platform 12
Installer
google-android-platform-13-installer - Google's Android SDK Platform 13
Installer
google-android-platform-14-installer - Google's Android SDK Platform 14
Installer
google-android-platform-15-installer - Google's Android SDK Platform 15
Installer
google-android-platform-16-installer - Google's Android SDK Platform 16
Installer
google-android-platform-17-installer - Google's Android SDK Platform 17
Installer
google-android-platform-18-installer - Google's Android SDK Platform 18
Installer
google-android-platform-19-installer - Google's Android SDK Platform 19
Installer
google-android-platform-2-installer - Google's Android SDK Platform 2 Installer
google-android-platform-20-installer - Google's Android SDK Platform 20
Installer
google-android-platform-21-installer - Google's Android SDK Platform 21
Installer
google-android-platform-22-installer - Google's Android SDK Platform 22
Installer
google-android-platform-23-installer - Google's Android SDK Platform 23
Installer
google-android-platform-24-installer - Google's Android SDK Platform 24
Installer
google-android-platform-3-installer - Google's Android SDK Platform 3 Installer
google-android-platform-4-installer - Google's Android SDK Platform 4 Installer
google-android-platform-5-installer - Google's Android SDK Platform 5 Installer
google-android-platform-6-installer - Google's Android SDK Platform 6 Installer
google-android-platform-7-installer - Google's Android SDK Platform 7 Installer
google-android-platform-8-installer - Google's Android SDK Platform 8 Installer
google-android-platform-9-installer - Google's Android SDK Platform 9 Installer
The expected sorted result:
---------------------------
google-android-platform-2-installer - Google's Android SDK Platform 2 Installer
google-android-platform-3-installer - Google's Android SDK Platform 3 Installer
google-android-platform-4-installer - Google's Android SDK Platform 4 Installer
google-android-platform-5-installer - Google's Android SDK Platform 5 Installer
google-android-platform-6-installer - Google's Android SDK Platform 6 Installer
google-android-platform-7-installer - Google's Android SDK Platform 7 Installer
google-android-platform-8-installer - Google's Android SDK Platform 8 Installer
google-android-platform-9-installer - Google's Android SDK Platform 9 Installer
google-android-platform-10-installer - Google's Android SDK Platform 10
Installer
google-android-platform-11-installer - Google's Android SDK Platform 11
Installer
google-android-platform-12-installer - Google's Android SDK Platform 12
Installer
google-android-platform-13-installer - Google's Android SDK Platform 13
Installer
google-android-platform-14-installer - Google's Android SDK Platform 14
Installer
google-android-platform-15-installer - Google's Android SDK Platform 15
Installer
google-android-platform-16-installer - Google's Android SDK Platform 16
Installer
google-android-platform-17-installer - Google's Android SDK Platform 17
Installer
google-android-platform-18-installer - Google's Android SDK Platform 18
Installer
google-android-platform-19-installer - Google's Android SDK Platform 19
Installer
google-android-platform-20-installer - Google's Android SDK Platform 20
Installer
google-android-platform-21-installer - Google's Android SDK Platform 21
Installer
google-android-platform-22-installer - Google's Android SDK Platform 22
Installer
google-android-platform-23-installer - Google's Android SDK Platform 23
Installer
google-android-platform-24-installer - Google's Android SDK Platform 24
Installer
Thanks, Salman
-- System Information:
Debian Release: 11.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-7-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages elpa-debian-el depends on:
ii bzip2 1.0.8-4
ii dh-elpa-helper 2.0.8
ii dpkg 1.20.9
ii emacsen-common 3.0.4
ii reportbug 7.10.3
ii xz-utils 5.2.5-2
Versions of packages elpa-debian-el recommends:
ii emacs 1:27.1+1-3.1
ii emacs-gtk [emacs] 1:27.1+1-3.1
ii wget 1.21-1+b1
elpa-debian-el suggests no packages.
Reply to: