title: How to do an XSL:for-each in reverse order
body: <p>I am looking to reverse in XSL/FO a for-each loop.</p>
  
  <p>for instance the xml </p>
  
  <pre><code>&lt;data&gt;
    &lt;record id="1"/&gt;
    &lt;record id="2"/&gt;
    &lt;record id="3"/&gt;
    &lt;record id="4"/&gt;
    &lt;record id="5"/&gt;
    &lt;record id="6"/&gt;
  &lt;/data&gt;
  </code></pre>
  
  <p>with the xsl</p>
  
  <pre><code>&lt;xsl:for-each select="descendant-or-self::*/record"&gt;
     &lt;xsl:value-of select="@id"/&gt;
  &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>I am looking for the output 654321 and not 123456</p>
  
  <p>how is this possible?</p>