<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def list_engines_by_priority(engines=None):
 """ Return a list of engines supported sorted by each priority. """

    if engines is None:
        engines = ENGINES

    return sorted(engines, key=operator.methodcaller("priority"))