title: How do I insert a model into a backbone.js collection in a specific index?
body: <p>I need to insert a model into a Collection at position Collection.length-2. The last model in the collection should always stay the last model in the collection. </p>
  
  <p>What I tried so far:</p>
  
  <p>I added one "page" model to the Collection "Pages" and then tried to swap them around by changing their sequence:</p>
  
  <pre><code>var insertedpage = Pages.at(Pages.length-1);
  var lastpage = Pages.at(Pages.length-2);
  insertedpage.set({sequence: Pages.length-1});
  lastpage.set({sequence: Pages.length});
  </code></pre>
  
  <p>I also tried to remove the last page, then add a new page and then add the last page back in.</p>
  
  <pre><code>var lastpage =  Pages.pop();
  Pages.add({example1: example2});
  Pages.push(lastpage);
  </code></pre>
  
  <p>neither of these worked. The newly added page still appears as last model in the Collection. Do I need to call some kind of order function after this?</p>