title: rails array maintain order
body: <p>With a hard-coded array</p>
  
  <pre><code>array = [30,29,31,13,10,12,6,7,8,9,11]
  </code></pre>
  
  <p>trying to execute a query </p>
  
  <pre><code> @pick = Item.where('id IN (?)', array).to_a
  </code></pre>
  
  <p>How can the order of Items chosen keep the order of initial array?</p>