aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg-util/manage.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg-util/manage.in b/bpkg-util/manage.in
index a0add0b..39d4ee7 100644
--- a/bpkg-util/manage.in
+++ b/bpkg-util/manage.in
@@ -2144,7 +2144,7 @@ while true; do
# IFS) because neither space nor tab characters (the other members of IFS)
# can occur in the keys.
#
- bundle=($(sed 's/ /\n/g' <<<"${bundle[*]}" | sort -))
+ bundle=($(sed 's/ /\n/g' <<<"${bundle[*]}" | sort --numeric-sort -))
printf "\n"
read -p "[${bundle[*]}][<N>,m,d,s,c,p,l,q,?]: " opt