foreach $key (keys %sortListArr){ print $sortListArr{$key},"\n"; }