[padb-devel] [padb] r144 committed - Sort ranks numerically if using the default (prefix-based) output...

codesite-noreply at google.com codesite-noreply at google.com
Mon Aug 24 16:29:17 BST 2009


Revision: 144
Author: apittman
Date: Mon Aug 24 08:28:18 2009
Log: Sort ranks numerically if using the default (prefix-based) output
formatting.

http://code.google.com/p/padb/source/detail?r=144

Modified:
  /trunk/src/padb

=======================================
--- /trunk/src/padb	Mon Aug 24 08:23:48 2009
+++ /trunk/src/padb	Mon Aug 24 08:28:18 2009
@@ -3120,7 +3120,7 @@
          }
      } else {
          my $nprocesses = keys( %{ $d->{target_output} } );
-        foreach my $process ( sort( keys( %{ $d->{target_output} } ) ) ) {
+        foreach my $process ( sortn( keys( %{ $d->{target_output} } ) ) ) {
              foreach my $line ( @{ $d->{target_output}{$process} } ) {
                  if ( $nprocesses == 1 ) {
                      print "$line\n";




More information about the padb-devel mailing list