Sorting, searching, and counting
================================

.. currentmodule:: numpy

Sorting
-------
.. autosummary::
   :toctree: generated/

   sort
   lexsort
   argsort
   ndarray.sort
   sort_complex
   partition
   argpartition

Searching
---------
.. autosummary::
   :toctree: generated/

   argmax
   nanargmax
   argmin
   nanargmin
   argwhere
   nonzero
   flatnonzero
   where
   searchsorted
   extract

Counting
--------
.. autosummary::
   :toctree: generated/

   count_nonzero
