change order of category for plotting