From: ndparker <> Date: Sun, 29 Jul 2001 01:42:34 +0000 (+0000) Subject: sort threads by number, not alphabetically X-Git-Url: https://git.p6c8.net/selfforum.git/commitdiff_plain/b9021e9738004ee35018d3ec16495b7dc1a287f0 sort threads by number, not alphabetically --- 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'}, {