class Rake::Application

def sort_options(options)

def sort_options(options)
  options.sort_by { |opt|
    opt.select { |o| o =~ /^-/ }.map { |o| o.downcase }.sort.reverse
  }
end