Zmień pozycję Li w Ul JQuery

Using:
$(li).rollDown();
will move the last element of the set of matched element to the first position.
$(li).rollUp();
will move the 1st element of the set of matched elements to the last position.
Curious Capuchin