Undo the depth profile inversion since using the depths to interpolate means the values are reordered if necessary