From 669103393f336de7895ff366af54da56f4192b4d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Tue, 31 Dec 2019 17:50:57 +0100 Subject: [PATCH] numeric order when sorting by name --- list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/list.sh b/list.sh index b941aa7..30dfc42 100644 --- a/list.sh +++ b/list.sh @@ -107,7 +107,7 @@ list_order(){ local fm fn fn al length ln h w t c name buffer l if [ $ORDER = Name ]; then - sort -k6 |sed 's;^;metashort\t;;' + sort -n -k6 |sed 's;^;metashort\t;;' elif [ $ORDER = Group ]; then { sort -k6; echo '0 0 0 tags= comment= _'; } \ | while read -r length h w t c name; do -- 2.39.2