sort_x_axis_labels function

Sort axis or color labels