diff --git a/perl-xCAT/xCAT/PPCscan.pm b/perl-xCAT/xCAT/PPCscan.pm index e79295bcb..b24d6b082 100644 --- a/perl-xCAT/xCAT/PPCscan.pm +++ b/perl-xCAT/xCAT/PPCscan.pm @@ -440,7 +440,7 @@ sub format_stanza { ##################################### shift(@$values); - foreach ( @$values ) { + foreach ( sort @$values ) { my @data = split /,/; my $type = $data[0]; my $i = 0;