code: def _sort_by_time(df, col="time"):
      df.sort_values(col, ascending=True, inplace=True)
      df.reset_index(drop=True, inplace=True)
  
imports: import re
  from datetime import datetime, timedelta, timezone
  import numpy
  from ..._fiff.constants import FIFF
  from ..._fiff.meas_info import create_info
  from ...annotations import Annotations
  from ...utils import _check_pandas_installed, logger, warn
label_desc: Use image node_id 14 for calling a global function with example usage: _sort_by_time(df, col) without return types