- or download this
@list_order = sort { $stuff_list[$a] cmp $stuff_list[$b] } 0 .. $#stuf
+f_list;
- or download this
for my $i ( 0 .. $#list_order ) {
print "$stuff_list[$list_order[$i]]\n";
}
- or download this
print join( "\n", @stuff_list[@list_order] ), "\n";