With e.g.
ORDER BY field(id, 9, 1, 4)
I can order by 9,1,4.
Is it also possible to order by a comma separated string of the same table I am selecting?
I tried
ORDER BY field(id, aFieldFromTheTableIAmSelecting)
where aFieldFromTheTableIAmSelecting is "9,1,4"
But that does not work.
This question is similiar to MySQL sort order by array value