Help for this page

Select Code to Download


  1. or download this
    sort SUBNAME LIST
    sort BLOCK LIST
    sort LIST
    
  2. or download this
        # sort lexically
        @articles = sort @files;
    ...
        use sort '_mergesort';  # note discouraging _
        @new = sort { substr($a, 3, 5) cmp substr($b, 3, 5) } @old;
    
  3. or download this
        @articles = sort {$b <=> $a} @files;
    
  4. or download this
        @articles = sort {$FooPack::b <=> $FooPack::a} @files;