I\'m hoping to sort the items returned in the following query by the order they\'re entered into the IN() function.
INPUT:
SELECT id
Try something like
... ORDER BY (CASE NAME WHEN 'B' THEN 0 WHEN 'A' THEN 1 WHEN ...