 <p>Sounds easy enough. You just need to use jquery selectors to slice and dice to get the li into the correct position.</p> <p>Take a look at <a href="http://api.jquery.com/nth-child-selector/" rel="nofollow">nth-child() selector</a>.</p>