title: Moving array element to top in PHP
body: <pre><code>$arr = array(
      'a1'=&gt;'1',
      'a2'=&gt;'2'
  );
  </code></pre>
  
  <p>I need to move the a2 to the top, as well as keep the <code>a2</code> as a key how would I go on about it I can't seem to think a way without messing something up :)</p>