astro py:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- Astropy v5.2.1 »
- Astropy Core Package Utilities (`astropy.utils`) »
- Masked Values (`astropy.utils.masked`) »
- lexsort

# lexsort

astropy.utils.masked.function_helpers.lexsort(keys, axis=-1)

  Perform an indirect stable sort using a sequence of keys.

  Like `numpy.lexsort` but for possibly masked `keys`. Masked values are sorted towards the end for each key.