I have something like
SELECT * FROM table WHERE id IN (118,17,113,23,72);
If I just do this it returns the rows in ID ascending order. Is t
You should use "ORDER BY FIELD". So, for instance:
SELECT * FROM table WHERE id IN (118,17,113,23,72) ORDER BY FIELD(id,118,17,113,23,72)