title: How to move an item in a MongoDB array?
body: <p>Is there a way to update a document array to move an item from one index to another?
  e.g. </p>
  
  <pre><code>{
     name: "myDoc",
     items: ["it1", "it2", "it3"]
  }
  </code></pre>
  
  <p>As a result for JQuery-UI Sortable event it2 and it3 switched places. As a result I want to update their position in the myDoc which is stored in MongoDB.</p>