Bug 7831 : Sort budgets for selection in new order
[koha.git] / acqui / neworderempty.pl
index d482554..7dc7cb5 100755 (executable)
@@ -264,6 +264,8 @@ foreach my $r (@{$budgets}) {
     };
 }
 
+@{$budget_loop} =
+  sort { uc( $a->{b_txt}) cmp uc( $b->{b_txt}) } @{$budget_loop};
 
 if ($close) {
     $budget_id      =  $data->{'budget_id'};