Please post the 1D sorting you have already written!