code: def test_streaming_sort_varying_order_and_dtypes(
      io_files_path: Path, sort_by: list[str]
  ) -> None:
      q = pl.scan_parquet(io_files_path / "foods*.parquet")
      df = q.collect()
      assert_df_sorted_by(
          df, q.sort(sort_by).collect(streaming=True), sort_by
      )
      assert_df_sorted_by(
          df, q.sort(sort_by).collect(streaming=False), sort_by
      )
  
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 8 for calling a global function with example usage: test_streaming_sort_varying_order_and_dtypes(io_files_path, sort_by) without return types