code: def argsort(a, axis=-1, kind="stable", order=None):
      if kind != "stable":
          logging.warning(
              "'kind' argument to argsort is ignored; only 'stable' sorts are supported."
          )
      if order is not None:
          raise ivy.utils.exceptions.IvyError(
              "'order' argument to argsort is not supported."
          )
  
      return ivy.argsort(a, axis=axis)
  
imports: import logging
  import ivy
  from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
  from ivy.functional.frontends.numpy.func_wrapper import from_zero_dim_arrays_to_scalar
  from ivy.func_wrapper import with_supported_device_and_dtypes, with_unsupported_dtypes
label_desc: Use image node_id 3 for calling a global function with example usage: argsort(a, axis, kind, order) and returns: ivy