Help for this page

Select Code to Download


  1. or download this
    sub mergeSort {    #Takes reference to array, index to sort on, beginn
    +ing index, and end index
        my ($aref, $index, $begin, $end)=@_;    
    ...
    #Sort by 1st section of interface CX/x/ux
    mergeSort(\@data, 11, 0, scalar(@data));
    
  2. or download this
    
    sub ASort {
    ...
    ASort(\@data, 11);