added custom order option to bar chart