code: def _sort_torch(tensor):
      """Update handling of sort to return only values not indices."""
      sorted_tensor = _i("torch").sort(tensor)
      return sorted_tensor.values
  
imports: from importlib import import_module
  import autoray
  import numpy
  import semantic_version
  from scipy.linalg import block_diag
  from .utils import get_deep_interface
label_desc: Use image node_id 33 for calling a global function with example usage: _sort_torch(tensor) and returns: sorted_tensor