title: Sort an Array by values based on another Array
body: <p>How do I turn this:</p>
  
  <pre><code>Array
  (
      [0] =&gt; stdClass Object
          (
              [id] =&gt; 123
              [name] =&gt; Board
          )
      [1] =&gt; stdClass Object
          (
              [id] =&gt; 133
              [name] =&gt; Staff
          )
  )
  </code></pre>
  
  <p>Into:</p>
  
  <pre><code>Array
  (
      [0] =&gt; stdClass Object
          (
              [id] =&gt; 133
              [name] =&gt; Staff            
          )
      [1] =&gt; stdClass Object
          (
              [id] =&gt; 123
              [name] =&gt; Board  
          )
  )
  </code></pre>
  
  <p>Based on this:</p>
  
  <pre><code>Array( 'Staff', 'Board'  )
  </code></pre>
  
  <p>In other words -- order an array of objects based on an array of values...</p>