def list_engines_by_priority(engines=None):
if engines is None:<EOL><INDENT>engines = ENGINES<EOL><DEDENT>return sorted(engines, key=operator.methodcaller("<STR_LIT>"))<EOL>
Return a list of engines supported sorted by each priority.