title: Move objects from one index to a particular index in javascript
body: <p>I'm new to javascript and currently using an array of object</p>
  <pre><code>var arrOfObj = [{name: 'eve'},{name: 'eve'},{name:'john'},
                 {name:'john'}{name:'john'},{name:'mon'},{name:'mon'},
                 {name:'paul'},{name:'paul'},{name:'paul'}];
  </code></pre>
  <p>what i want is to place all the objects having value 'paul' to be after value 'eve'</p>
  <pre><code>var arrOfObj = [{name: 'eve'},{name: 'eve'},{name:'paul'},
                 {name:'paul'}{name:'paul'},{name:'mon'},{name:'mon'},
                 {name:'john'},{name:'john'},{name:'john'}];
  </code></pre>