changed sort of x-axis for bar charts