I have a normal unordered list
Item 1 Item 2 Item 3 Item 4
Add an id to the unordered list (), and add it after the second child.
id
$('#list li').click(function() { $(this).insertAfter("#list li:nth-child(1)"); });
This only works for elements after the first, but an example is on jsFiddle.