title: keep original array order when appling a active record "where" on it
body: <p>Just a question, i have an array with some ids <code>array = [19, 5, 1, 4]</code>  when i call a where on it <code>Delivery.where(id: array.map(&amp;:id))</code> to have an active record relation instead an array, the “where” statement is sorting the ids and give me all objects sorting by ids  :
  <code>#&lt;ActiveRecord::Relation [#&lt;Delivery id: 1, ... &gt;, #&lt;Delivery id: 4, ... &gt;, #&lt;Delivery id: 5, ... &gt;, #&lt;Delivery id: 19, ... &gt;</code>
  Is anyone know how to keep the original order ?</p>
  <p>Thanks !</p>