class Cucumber::CucumberExpressions::ParameterType

def <=>(other)

def <=>(other)
  return -1 if prefer_for_regexp_match? && !other.prefer_for_regexp_match?
  return 1 if other.prefer_for_regexp_match? && !prefer_for_regexp_match?
  return name <=> other.name
end