Return a copy of an array sorted along the first axis.
a : array_like
Array to be sorted.
sorted_array : ndarray
Array of the same type and shape as a.
See also
sort
Notes
np.msort(a) is equivalent to np.sort(a, axis=0).
numpy.ndarray.sort
numpy.sort_complex