tfx.dsl.compiler.compiler_utils.ensure_topological_order

Helper function to check if nodes are topologically sorted.