write data in dygraphs timestring format.
Merge pull request #1 from mote/master

sort data points and store times in dygraphs datestring format