title: Reordering arrays
body: <p>Say, I have an array that looks like this:</p>
  
  <pre><code>var playlist = [
      {artist:"Herbie Hancock", title:"Thrust"},
      {artist:"Lalo Schifrin", title:"Shifting Gears"},
      {artist:"Faze-O", title:"Riding High"}
  ];
  </code></pre>
  
  <p>How can I move an element to another position?</p>
  
  <p>I want to move for example, <code>{artist:"Lalo Schifrin", title:"Shifting Gears"}</code> to the end.</p>
  
  <p>I tried using splice, like this:</p>
  
  <pre><code>var tmp = playlist.splice(2,1);
  playlist.splice(2,0,tmp);
  </code></pre>
  
  <p>But it doesn't work.</p>