Commit c02250f1 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Order the groups of analyses by branch number

parent d525532a
......@@ -271,7 +271,7 @@ sub get_grouped_dataflow_rules {
$set_of_groups{$dfr} ||= [$dfr, []];
}
}
return [ sort { scalar(@{$a->[1]}) <=> scalar(@{$b->[1]}) or $b->[0]->branch_code <=> $a->[0]->branch_code } values %set_of_groups ];
return [ sort { scalar(@{$a->[1]}) <=> scalar(@{$b->[1]}) or $a->[0]->branch_code <=> $b->[0]->branch_code } values %set_of_groups ];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment