code: def test_order():
      order = Order(["dataset", "training", "validation", "logging"])
  
      order.insert("architecture", before="training")
      order.insert("environment", after="validation")
  
      assert [item for item in order] == [
          "dataset",
          "architecture",
          "training",
          "validation",
          "environment",
          "logging",
      ]
  
file_path: h2o-llmstudio/llm_studio/src/order.py
imports: from typing import Iterable, List, Optional
label_desc: Use image node_id 1 for calling a global function with example usage: test_order() without return types