fix bug 2873512 rvitals ouput on a group not sorted

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4347 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhanx 2009-10-12 06:52:43 +00:00
parent 0c94f2e78a
commit ad72ad371f

View File

@ -373,9 +373,11 @@ sub all {
@{voltage(@_)},
@{state(@_)},
@{power(@_)},
@{lcds(@_)},
@{lcds(@_)},
);
return( \@values );
my @sorted_values = sort {$a->[0] cmp $b->[0]} @values;
return( \@sorted_values );
}