Use lodash.sortedindex instead of lodash