Update Chart.js with interactive feature and add table column sorting

Updated Charts.js to newer version with interactive features and some
other minor changes.
yep, it would be better if the sorting can be moved to a global file. Also notice that I have this function to change the icon direction, when the sorting is changed.