would ```return reverseResult(c)``` be ok here? or must the comparator return a value in [-1,0,1]?