SELECT ts, i, s, f FROM foo ORDER BY ts;