# File rparsec/operators.rb, line 60
  def self.sort(ops)
    #sort the array by longer-string-first.
    ordered = ops.sort {|x, y|y.length <=> x.length}
    suites = []
    # loop from the longer to shorter string
    ordered.each do |s|
      populate_suites(suites, s)
    end
    # suites are populated with bigger suite first
    to_array suites
  end