From edc70975e39280dff8325417d09b01b02292cdb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Sat, 3 Feb 2024 21:33:32 +0100 Subject: [PATCH] _list_blogs: Sort from newest to oldest --- qsgen2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index 7c33311..4ad8b7c 100755 --- a/qsgen2 +++ b/qsgen2 @@ -181,7 +181,7 @@ function _list_blogs() { setopt local_options null_glob # Directly capture matching blog files into an array - local -a blog_files=(blog/*.blog) + local -a blog_files=(blog/*.blog(O)) if (( ${#blog_files[@]} == 0 )); then if ${debug}; then _msg debug "_list_blogs: No blog files found."; fi