Move Collection#sortedIndex definition
Merge pull request #2366 from gsamokovarov/sort-sorted-index

Move Collection#sortedIndex definition