Archived
1
0

Sort id in grading file

This commit is contained in:
Mercier Pierre-Olivier 2013-09-06 05:21:07 +02:00
parent d32df3b25d
commit de445361e8

View File

@ -43,7 +43,7 @@ sub create_from_trace ($$)
my $g = Grade->new($trace_id, $trace_name);
for my $id (keys %{ $trace->{ids} })
for my $id (sort( keys %{ $trace->{ids} } ))
{
my $p = Point->new(0, $id, 0, 0);
push @{ $g->{tree} }, $p;