Flipped comparator