(bug #3505) order collections by alphabetical order
[koha.git] / cataloguing / value_builder / unimarc_field_225a.pl
index d42aa63..1a86819 100755 (executable)
@@ -138,8 +138,8 @@ sub plugin {
             push @collections, $col;
         }
             
-    }
-
+    } 
+    @collections = sort @collections;
     #  my @collections = ["test"];
     my $collection = CGI::scrolling_list(
         -name     => 'f1',