code: def sort(self, axis=-1, kind=None, order=None):
      # ndarray.sort works in-place
      _funcs.copyto(self, _funcs.sort(self, axis, kind, order))
  
imports: from __future__ import annotations
  import builtins
  import math
  import operator
  from typing import Sequence
  import torch
  from .None import _dtypes, _dtypes_impl, _funcs, _ufuncs, _util
  from ._normalizations import ArrayLike, normalize_array_like, normalizer, NotImplementedType
label_desc: Use image node_id 37 for calling the ndarray obj's underlying member method code with example usage: obj.sort(axis, kind, order) without return types