title: Reordering an array based on its existence in another array
body: <pre><code>a=[1,2,3,4,5]
  b=[4,3]
  array_wanted=[4,3,1,2,5]
  </code></pre>
  
  <p>I could do this via a mapping and pushing, but i would love to know more elegant ways of doing this.</p>