code: def test_order_deps_outs(dvc, typ):
      all_types = ["deps", "params", "outs", "metrics", "plots"]
      all_types = [item for item in all_types if item != typ]
      extra = {key: [f"foo-{i}"] for i, key in enumerate(all_types)}
  
      stage = create_stage(PipelineStage, dvc, **kwargs, **extra)
      assert typ not in to_pipeline_file(stage)["something"]
      assert list(to_pipeline_file(stage)["something"].keys()) == [
          "cmd",
          *all_types,
      ]
  
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 14 for calling a global function with example usage: test_order_deps_outs(dvc, typ) without return types