Add sort to timeseries. Fix #208.

:open_mouth: