Cleanup `low` and `high` assignment in `sortedIndex`. [ci skip]