module Rake::TaskManager

def tasks

List of all defined tasks in this application.
def tasks
  @tasks.values.sort_by { |t| t.name }
end