I am using this query to select rows in MySQL
SELECT * FROM `table` WHERE `id` IN (5,2,3,1,4);
Now by default the rows will be ordered by their id
: 1, 2, 3, 4, 5
Is there any way that I can order rows as they are in the query, so the order should be: 5, 2, 3, 1, 4
?