Make time a float.
Make group model order by time when querying for transactions.