If first element of array is greater than it, interchange with it. If last element of array is less than it, swap with it. If first element of array is greater than it, swap with it. 240 C C Find an element in the first half of the array which is C greater than it. Save upper and lower subscripts of the array yet to be sorted.
C C Begin again on another portion of the unsorted array.
TA GO TO 265 C C Clean up, if necessary.