I do have a query in a table called article.
$q = Doctrine_Query::create()
->from('article a')
->WhereIn('a.name', $input)
->execute();
$input = array(
0 => Tomato,
1 => Apple,
2 => Banana
);
I find all inputs. But the output of the query is a different order: Apple, Banana, Tomato. I want the order like the input? How can I realize it?