fix timestamps in chart. Have no idea why jqplot wants epoc * 1000. Wierd.
order measues by created at, to solve issue where measures are created out of order