select ts, i, s, f from foo order by ts;