Terminate earlier in TIM_SORT_MERGE
Terminate earlier in TIM_SORT_MERGE

If the elements from temp storage are exhausted, the remaining elements
are already in the correct position. This mainly speeds up sorting of
partially sorted arrays.

swenson/sort,swenson/sort