Same here, this can be simplifed to just 'return a-b;'.  But if you only call binary search with a comparator argument, you could just remove this, too.