Adding sortable option to a d3js bar chart