NumPy

numpy.ma.MaskType.sort

method

MaskType.sort()

Scalar method identical to the corresponding array attribute.

Please see ndarray.sort.