# get authtype list
my $authtypes = getauthtypes;
my @authtypesloop = ();
-foreach my $thisauthtype ( keys %{$authtypes} ) {
+foreach my $thisauthtype ( sort keys %{$authtypes} ) {
push @authtypesloop,
{ value => $thisauthtype,
selected => $thisauthtype eq $authtypecode,
push @existingauthtypeloop,\%line;
}
}
+ @existingauthtypeloop = sort { lc($a->{authtypetext}) cmp lc($b->{authtypetext}) }@existingauthtypeloop;
$template->param(existingauthtypeloop => \@existingauthtypeloop,
authtypecode => $authtypecode,
);