From 807af72a8f30330baa9666f83d8fe247cc1c254c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Thu, 1 Feb 2024 09:58:58 +0100 Subject: [PATCH] _list_blogs: Reverse the dates from newest to oldest --- qsgen2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index 7f662fa..deb742f 100755 --- a/qsgen2 +++ b/qsgen2 @@ -184,7 +184,7 @@ function _list_blogs() { return fi - for file in blog/*.blog; do + for file in $( ls -har blog/*.blog ); do blogs_file_array+=("$file") done }