Fixed problems with order of labels on bar charts