From 4f01d33ff6f2658e783a001c6bce06ced7f25f7e Mon Sep 17 00:00:00 2001 From: hdl Date: Mon, 2 May 2005 15:59:49 +0000 Subject: [PATCH] Sorting resullts --- search.marc/dictionary.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search.marc/dictionary.pl b/search.marc/dictionary.pl index 6eb2043df9..760384b0ac 100755 --- a/search.marc/dictionary.pl +++ b/search.marc/dictionary.pl @@ -103,7 +103,7 @@ if ($op eq "do_search") { $seen{$item->{$display}}++; } my @catresults; - foreach my $name (keys %seen){ + foreach my $name (sort keys %seen){ push @catresults, { value => $name , count => $seen{$name}} } -- 2.39.5