Run ❯
Get your
own
website
×
Change Orientation
import numpy as np arr = np.array([3, 2, 0, 1]) print(np.sort(arr))
[0 1 2 3]