Perform a topological sort. A common use is to show the dependency order of nodes in a directed acyclic graph.
tsort {{file}}