`sdata = np.sort(data)` will make a copy of the data and sort