module Gem::Requirement::OrderIndependentComparison

def ==(other)

def ==(other)
  return unless Gem::Requirement === other
  if _requirements_sorted? && other._requirements_sorted?
    super
  else
    _with_sorted_requirements == other._with_sorted_requirements
  end
end