Fix ordering option for the barChart.