Martys suggestions to ORDER BY ts_id and TIME plus otyhers...