simply use topological_sort() in assembly.allmaps.path()