Optimize re-sorting of array by keeping track of lowestHitPosition.
Optimize re-sorting of array by keeping track of lowestHitPosition.

internetarchive/tnh,aaronbinns/tnh,internetarchive/tnh,aaronbinns/tnh