diff --git a/src/run-tests.pl b/src/run-tests.pl index 204cf20..2b425ce 100755 --- a/src/run-tests.pl +++ b/src/run-tests.pl @@ -341,7 +341,7 @@ sub showbox($) my ($mu, %ms) = readbox($bn); print " [ $mu,\n "; my $frst = 1; - for my $num (sort {my ($ca, $cb) = ($ms{$a}[0], $ms{$b}[0]); ($ca?$ca:$a+1000) <=> ($cb?$cb:$b+1000)} keys %ms) { + for my $num (sort { $a <=> $b } keys %ms) { if ($frst) { $frst = 0; } else {