Validates if a value is greater than a comparator value.