in reply to Re: Divide array of integers into most similar value halvesin thread Divide array of integers into most similar value halves
That happens to work in this case by chance, but you shouldn't rely on the ordering of the input data.