Help for this page

Select Code to Download


  1. or download this
    ...
        sort {  $h{$b} <=> $h{$a}  ||  $a cmp $b  }
        keys %saved_key;
    
  2. or download this
    my @sorted = 
        sort {          $hash{$b}  <=>  $hash{$a}          ||
    ...
                         func($a)  <=>  func($b)           ||
                 $other{name}{$b}  cmp  $other{name}{$a}    }
        @unsorted;