From: Paul Hänsch Date: Tue, 18 Mar 2025 11:20:04 +0000 (+0100) Subject: use ascii sort order for doc IDs X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=0d099b523587420942d3b0d8e3b70d9bb87bb788;p=invoices use ascii sort order for doc IDs --- diff --git a/doclist.sh b/doclist.sh index 0472ec7..6e77fa6 100755 --- a/doclist.sh +++ b/doclist.sh @@ -6,7 +6,7 @@ list_status() { local status=$1 id type net tax gross junk grep -lxF "status ${status}" "$_DATA"/*.kvd \ - | sort -r \ + | LANG=C sort -r \ | while read file; do id="${file##*/}" id="${id%.kvd}" DB3 open "$file" || continue