def _order_search_space(self, parameters: list[tuple[str, SearchParameter]]) -> list[tuple[str, SearchParameter]]:
        """Order the search space by topological order of parameters for each pass_id/space_name."""
        unordered_nodes = dict(parameters)
        ordered_nodes = order_search_parameters(unordered_nodes)
        return [(name, unordered_nodes[name]) for name in ordered_nodes]
Order the search space by topological order of parameters for each pass_id/space_name.
olive/search/search_space.py