Add _.comparator and align sortedIndex to sortBy