From 456e4bc57f56735709828472a9762e4572c65791 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 2 Feb 2025 10:49:09 +0200 Subject: swap --- lib/template.source.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/template.source.sh b/lib/template.source.sh index 963b272..c93b66e 100644 --- a/lib/template.source.sh +++ b/lib/template.source.sh @@ -106,12 +106,12 @@ template::inline::_index () { # Can be used from a .gmi.tpl template for generating an index for a given topic. template::inline::index () { - template::inline::_index $@ | sort -r | uniq + template::inline::_index $@ | sort | uniq } # Same as index, but reverse order template::inline::rindex () { - template::inline::_index $@ | sort | uniq + template::inline::_index $@ | sort -r | uniq } # TODO: Write unit test. -- cgit v1.2.3