[Bio] / FigKernelPackages / FIGMODELTable.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/FIGMODELTable.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15, Tue Aug 31 14:40:21 2010 UTC revision 1.16, Sun Jan 2 22:21:50 2011 UTC
# Line 320  Line 320 
320    
321  sub sort_rows {  sub sort_rows {
322          my ($self,$sortcolumn) = @_;          my ($self,$sortcolumn) = @_;
323            if (defined($self->{"array"})) {
324          @{$self->{"array"}} = sort { $a->{$sortcolumn}->[0] <=> $b->{$sortcolumn}->[0] } @{$self->{"array"}};                  @{$self->{"array"}} = sort { $a->{$sortcolumn}->[0] cmp $b->{$sortcolumn}->[0] } @{$self->{"array"}};
325            }
326  }  }
327    
328  =head3 replace_row  =head3 replace_row

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3