title: Reverse $.each output in jQuery
body: <p>I'm making a little secret tool. The output will be in a table, and on the left-hand side I'd like to list the numbers I have stored in <code>$.each()</code>. So here's my code:</p>
  
  <pre><code>$.each([1,2,3,4,5], function(i, l){
  
  
     var lol = (some math stuff here);
  
     $("#output").append("&lt;tr&gt;&lt;td&gt;" + l + "&lt;/td&gt;&lt;td&gt;" + lol + "&lt;/td&gt;&lt;tr&gt;");
  
  });
  </code></pre>
  
  <p>What this does is output  the following:</p>
  
  <pre><code>1.  lol1
  2.  lol2
  3.  lol3
  4.  lol4
  5.  lol5
  </code></pre>
  
  <p>What I'm trying to do is reverse that <code>l</code> value but leave everything else alone so that the output instead looks like this:</p>
  
  <pre><code>5. lol1
  4. lol2
  3. lol3
  2. lol4
  1. lol5
  </code></pre>