order logs in ascending order to fix highcharts complaint