diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl index 6ece2e12b6..93dc9734ef 100755 --- a/suggestion/suggestion.pl +++ b/suggestion/suggestion.pl @@ -529,6 +529,7 @@ foreach my $field ( qw(managedby acceptedby suggestedby budgetid) ) { } grep { $$_{'value'} } @$values_list; + @codes_list = sort { $a->{desc} cmp $b->{desc} } @codes_list; $hashlists{ lc($field) . "_loop" } = \@codes_list; }