SELECT * FROM t1 ORDER BY c2 - c1 ASC