I have the following...
$people = array(5, 2, 9, 6, 11);
$people_collection = People::find($people);
But when I dump and die $people_collection the collection is ordered by the ID ASC, how can I keep the collection, in the same order as the $people array?
findinternally calls mysql IN clause which returns the rows in ascending order of the Ids passed. You can manually sort the array or use the method explained by Jannie.