A nitpick, perhaps, but this reorders the data points and returns a different order from the one ordered by the caller.