code: def _py_sorted(iterable, key, reverse):
      if key is not UNSPECIFIED and reverse is UNSPECIFIED:
          return sorted(iterable, key=key)
      if key is UNSPECIFIED and reverse is not UNSPECIFIED:
          return sorted(iterable, reverse=reverse)
      if key is not UNSPECIFIED and reverse is not UNSPECIFIED:
          return sorted(iterable, key=key, reverse=reverse)
      return sorted(iterable)
  
imports: import inspect
  from nvidia.dali._autograph.utils import hooks
label_desc: Use image node_id 38 for calling a global function with example usage: _py_sorted(iterable, key, reverse) and returns: sorted, sorted, sorted, sorted