def _load_stage_order(self):
        """ Loads the order of all stages from the stages.yaml configuration
        file """
        orders = load_yaml_file("/$$rpconfig/stages.yaml")
        if "global_stage_order" not in orders:
            self.error("Could not load stage order, root key does not exist!")
            return
        self._stage_order = orders["global_stage_order"]
 Loads the order of all stages from the stages.yaml configuration
        file 
metadrive/render_pipeline/rpcore/stage_manager.py