make line chart more readable
sort data before rendering to make charts more readable