Add _.comparitor and align sortedIndex to sortBy

Fixes #1768 

This could use some review and thoughts

LMK if stylistically you prefer above or `if (_.comparitor(iteratee(array[mid]), value) < 0)`