title: Sorting a php array of arrays by custom order
body: <p>I have an array of arrays:</p>
  
  <pre><code>Array ( 
      [0] =&gt; Array (
          [id] = 7867867,
          [title] = 'Some Title'),
      [1] =&gt; Array (
          [id] = 3452342,
          [title] = 'Some Title'),
      [2] =&gt; Array (
          [id] = 1231233,
          [title] = 'Some Title'),
      [3] =&gt; Array (
          [id] = 5867867,
          [title] = 'Some Title')
  )
  </code></pre>
  
  <p>The need to go in a specific order:</p>
  
  <ol>
  <li>3452342</li>
  <li>5867867</li>
  <li>7867867</li>
  <li>1231233</li>
  </ol>
  
  <p>How would I go about doing that? I have sorted arrays before, and read plenty of other posts about it, but they are always comparison based (i.e. valueA &lt; valueB).</p>
  
  <p>Help is appreciated.</p>