switched to a highcharts bar chart, added tolbox, now sorted in descending order.
code cleanup