Document sortedIndex and change to sort