From c2c16438f106f5fb6ef73a7f75cb700958a88d6e Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sun, 3 Apr 2005 08:20:52 +0000 Subject: [PATCH] alpha versus numeric sort for index --- lib/WebGUI/Operation/Help.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Operation/Help.pm b/lib/WebGUI/Operation/Help.pm index 81178fa6a..17a540807 100644 --- a/lib/WebGUI/Operation/Help.pm +++ b/lib/WebGUI/Operation/Help.pm @@ -92,7 +92,7 @@ sub www_viewHelpIndex { my $output = '
'; my $halfway = round($i/2); $i = 0; - @helpIndex = sort { $a->[2] <=> $b->[2] } @helpIndex; + @helpIndex = sort { $a->[2] cmp $b->[2] } @helpIndex; foreach my $helpEntry (@helpIndex) { my ($namespace, $id, $title) = @{ $helpEntry }; $output .= '

'.$title.'

';