Help for this page

Select Code to Download


  1. or download this
      my @unsorted = <TOSORT>;
      my @sorted = sort byPhone @unsorted;
    
  2. or download this
      sub byPhone {
          return (split(/\|/, $a))[1] cmp (split(/\|/, $b))[1];
      }