code: def test_arg_sort_argument_expansion() -> None:
      df = pl.DataFrame(
          {
              "col1": [1, 2, 3],
              "col2": [4, 5, 6],
              "sort_order": [9, 8, 7],
          }
      )
      assert df.select(
          pl.col("col1")
          .sort_by(pl.col("sort_order").arg_sort())
          .name.suffix("_suffix")
      ).to_dict(as_series=False) == {"col1_suffix": [3, 2, 1]}
      assert df.select(
          pl.col("^col.*$").sort_by(pl.col("sort_order")).arg_sort()
      ).to_dict(as_series=False) == {
          "col1": [2, 1, 0],
          "col2": [2, 1, 0],
      }
      assert df.select(
          pl.all()
          .exclude("sort_order")
          .sort_by(pl.col("sort_order"))
          .arg_sort()
      ).to_dict(as_series=False) == {
          "col1": [2, 1, 0],
          "col2": [2, 1, 0],
      }
  
imports: import polars
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 3 for calling a global function with example usage: test_arg_sort_argument_expansion() without return types