code: def test_arg_sort_struct() -> None:
      df = pl.DataFrame(
          {
              "a": [100, 300, 100, 200, 200, 100, 300, 200, 400, 400],
              "b": [5, 5, 6, 7, 8, 1, 1, 2, 2, 3],
          }
      )
      assert df.select(
          pl.struct("a", "b").arg_sort()
      ).to_series().to_list() == [
          5,
          0,
          2,
          7,
          3,
          4,
          6,
          1,
          8,
          9,
      ]
  
imports: from __future__ import annotations
  from datetime import date, datetime
  from typing import Any
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 33 for calling a global function with example usage: test_arg_sort_struct() without return types