code: def test_sorted_fast_paths() -> None:
      s = pl.Series([1, 2, 3]).sort()
      rev = s.sort(descending=True)
  
      assert rev.to_list() == [3, 2, 1]
      assert s.sort().to_list() == [1, 2, 3]
  
      s = pl.Series([None, 1, 2, 3]).sort()
      rev = s.sort(descending=True)
      assert rev.to_list() == [None, 3, 2, 1]
      assert rev.sort(descending=True).to_list() == [None, 3, 2, 1]
      assert rev.sort().to_list() == [None, 1, 2, 3]
  
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 11 for calling a global function with example usage: test_sorted_fast_paths() without return types