Sort the X axis