normalize binary search to mongo style 1,-1 so adapters don't need to worry about it