code: def argsort(
      x: np.ndarray,
      /,
      *,
      axis: int = -1,
      descending: bool = False,
      stable: bool = True,
      out: Optional[np.ndarray] = None,
  ) -> np.ndarray:
      kind = "stable" if stable else "quicksort"
      return (
          np.argsort(-x, axis=axis, kind=kind)
          if descending
          else np.argsort(x, axis=axis, kind=kind)
      )
  
file_path: ivy/ivy/functional/backends/numpy/sorting.py
imports: import numpy
  from typing import Optional, Literal, Union, List
  import ivy
  from ivy.func_wrapper import with_unsupported_dtypes
  from .None import backend_version
label_desc: Use image node_id 1 for calling a global function with example usage: argsort() and returns: unknown