code: def list_engines_by_priority(engines=None):
      
      if engines is None:
          engines = ENGINES
  
      return sorted(engines, key=operator.methodcaller("priority"))
docs: Return a list of engines supported sorted by each priority.