Reorder x-axis data points