title: Move checkboxes on checked jQuery
body: <p>I want to move the checkboxes if they are checked. </p>
  
  <pre><code>&lt;div id="chkboxes"&gt;
  &lt;input type="checkbox" name="city" id="1"/&gt; One &lt;br /&gt;
  &lt;input type="checkbox" name="city" id="2"/&gt; Two &lt;br /&gt;
  &lt;input type="checkbox" name="city" id="3"/&gt; Three   &lt;br /&gt;
  &lt;input type="checkbox" name="city" id="4"/&gt; Four    &lt;br /&gt;
  &lt;input type="checkbox" name="city" id="5"/&gt; Five    &lt;br /&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>So if any checkbox is checked, it should move on the top of the list. How do I do that with jquery?</p>
  
  <p>I am trying to build the pseudo code, but not able to get the logic.</p>
  
  <p>Thanks.</p>