Adding sorting animation to the chart

A sort input checkbox added to the chart. It sorts the bar char in the
descending order of its value