numpy.ma.sort(a, axis=-1, kind='quicksort', order=None, endwith=True, fill_value=None) [source]
Sort the array, in-place Parameters:
a : array_like Array to be sorted. axis : int, optional Axis along which to sort. If None, the array is flattened before sorting. The default is -1, which sorts along the last axis. kind : {?quicksort?, ?mergesort?, ?heapsort?}, optional Sorting algorithm. Default is ?quicksort?. order : list, optional When a is a structured array, this argument specif