code: def test_deps_sorted(dvc):
      stage = create_stage(
          PipelineStage,
          dvc,
          deps=["a", "quick", "lazy", "fox"],
          **kwargs,
      )
      assert to_pipeline_file(stage)["something"][stage.PARAM_DEPS] == [
          "a",
          "fox",
          "lazy",
          "quick",
      ]
  
imports: import os
  import pytest
  from voluptuous import Schema
  from dvc import output
  from dvc.dvcfile import PROJECT_FILE
  from dvc.schema import SINGLE_PIPELINE_STAGE_SCHEMA
  from dvc.stage import PipelineStage, create_stage
  from dvc.stage.serialize import to_pipeline_file
label_desc: Use image node_id 4 for calling a global function with example usage: test_deps_sorted(dvc) without return types