Help for this page

Select Code to Download


  1. or download this
    my @data = 
        map   { $_->[1] }
        sort  { $a->[0] <=> $b->[0] } 
        map   { [ substr($_,1), $_ ] } @tempArray;
    
  2. or download this
    my @data = 
        map  { s/\A (.*)(.) \z/$2$1/x }
        sort 
        map  { s/\A (.)(.*) \z/$2$1/x } @tempArray;