Multiple ul reverse order
<p>I'm new to jquery and I have a page with multiple unordered lists ul.
I need to reverse order each ul, I saw this answer <a href="http://stackoverflow.com/questions/5347839/jquery-reversing-the-order-of-child-elements">jQuery reversing the order of child elements</a>
but it messes all items with all lists.
I tried to change the code to fit my needs but it doesn't do what I want, I can access each li of each ul but I don't know how to reverse the order of the li items.</p>

<p>My code:</p>

<pre><code>$(function() {
  ul = $('ul'); // your parent element
  ul.each(function(i,ul){
     $(this).children().each(function (i,li) {
        alert(i);/*i got to do something here*/
     });
  })  
});
</code></pre>
