code: def sort(
      table: "pyarrow.Table", sort_key: "SortKey"
  ) -> "pyarrow.Table":
      check_polars_installed()
      df = pl.from_arrow(table)
      return df.sort(
          sort_key.get_columns(), reverse=sort_key.get_descending()
      ).to_arrow()
  
label_desc: Use image node_id 2 for calling a global function with example usage: sort(table, sort_key) and returns: df