# File lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb, line 83 def <=>(other) if state_index > other.state_index 1 elsif state_index == other.state_index reversed_requirement_tree_index <=> other.reversed_requirement_tree_index else -1 end end