diff --git a/dvc/command/pipeline.py b/dvc/command/pipeline.py index 2806994797..025de421cf 100644 --- a/dvc/command/pipeline.py +++ b/dvc/command/pipeline.py @@ -167,7 +167,7 @@ def run(self): pipelines = self.repo.pipelines for p in pipelines: stages = networkx.get_node_attributes(p, "stage") - for stage in stages: + for stage in sorted(stages): logger.info(stage) if len(stages) != 0: logger.info("=" * 80)