authoritiy list shown in authtypetext order (so authtypetext with a space appear...
authortipaul <tipaul>
Mon, 13 Dec 2004 16:39:14 +0000 (16:39 +0000)
committertipaul <tipaul>
Mon, 13 Dec 2004 16:39:14 +0000 (16:39 +0000)
authorities/authorities-home.pl

index 8262315..3440c93 100755 (executable)
@@ -46,7 +46,7 @@ my $resultsperpage;
 
 my $authtypes = getauthtypes;
 my @authtypesloop;
-foreach my $thisauthtype (keys %$authtypes) {
+foreach my $thisauthtype (sort { $authtypes->{$a} <=> $authtypes->{$b} } keys %$authtypes) {
        my $selected = 1 if $thisauthtype eq $authtypecode;
        my %row =(value => $thisauthtype,
                                selected => $selected,