CompareWithOp

Compare two objects given the comparison operator.