code: def test_ooc_sort(monkeypatch: Any) -> None:
      monkeypatch.setenv("POLARS_FORCE_OOC", "1")
  
      s = pl.arange(0, 100_000, eager=True).rename("idx")
  
      df = s.shuffle().to_frame()
  
      for descending in [True, False]:
          out = (
              df.lazy()
              .sort("idx", descending=descending)
              .collect(streaming=True)
          ).to_series()
  
          assert_series_equal(out, s.sort(descending=descending))
  
file_path: polars/py-polars/tests/unit/streaming/test_streaming_sort.py
imports: from __future__ import annotations
  from datetime import datetime
  from typing import TYPE_CHECKING, Any
  from collections import Counter
  import numpy
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 3 for calling a global function with example usage: test_ooc_sort(monkeypatch) without return types