code: def sort_table_column(
      driver: WebDriver,
      table: DataTable,
      col: int,
      double: bool = False,
  ) -> None:
      elt = find_element_for(
          driver,
          table,
          f".slick-header-columns .slick-header-column:nth-child({col})",
      )
      elt.click()
      if double:
          elt.click()
  
imports: from __future__ import annotations
  import logging
  from typing import TYPE_CHECKING, Any, Sequence
  from selenium.webdriver.common.action_chains import ActionChains
  from selenium.webdriver.common.by import By
  from selenium.webdriver.common.keys import Keys
  from bokeh.models import Button
label_desc: Use image node_id 24 for calling a global function with example usage: sort_table_column(driver, table, col, double) without return types