added sorting interactivity and changed x-axis to dates