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