I have lots of keywords - "b1,b2,b3,a1,z1" which later would be composed as a query condition to do a query from a database.
It's like this:
SELECT *
FROM sometable
WHERE id IN (b1,b2,b3,a1,z1)
But the search results are a mess in order.
ID
------------
a1
b2
b3
b1
z1
The question is how to make the search results are presented perfectly as b1,b2,b3,a1,z1