fix _.sortedIndex for large indexes

fixes #1850
Just do `(low + high) / 2` otherwise looks good to merge