I want to sort an array of integers in python:
a=np.random.randint(0, high=1000000, size=1000000) b = np.sort(a)
A faster way I found on quora is