When you do Something.find(array_of_ids) in Rails, the order of the resulting array does not depend on the order of array_of_ids. Is there any way to do the find and preserve the order? ATM I manually sort the records based on order of IDs, but that is kind of lame. UPD: if it's possible to specify the order using the :order param and some kind of SQL clause, then how?
![ActiveRecord.find(array_of_ids), preserving order](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)