From b9021e9738004ee35018d3ec16495b7dc1a287f0 Mon Sep 17 00:00:00 2001 From: ndparker <> Date: Sun, 29 Jul 2001 01:42:34 +0000 Subject: [PATCH] sort threads by number, not alphabetically --- selfforum-cgi/shared/Template/Archive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfforum-cgi/shared/Template/Archive.pm b/selfforum-cgi/shared/Template/Archive.pm index 3bc0807..bae7d47 100644 --- a/selfforum-cgi/shared/Template/Archive.pm +++ b/selfforum-cgi/shared/Template/Archive.pm @@ -243,7 +243,7 @@ sub print_month_as_HTML($$$) { # # thread overview # - for (sort keys %$threads) { + for (sort {$a <=> $b} keys %$threads) { print ${$template->scrap( $assign->{'monthThreadEntry'}, { -- 2.34.1