Exemple #1
0
 def reorder(cls, items, relations):
     return filter_ordered(toposort(relations) + list(items))
Exemple #2
0
 def reorder(cls, items, relations):
     return filter_ordered(toposort(relations) + list(items))