<div class="gmail_quote"><div>Thank you Rogutès for your help and for your time !<br>It is working fine now :)<br><br>Gilles.<br><br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
</div>Oh, looks like I&#39;ve missed a piece of info. $FmtPV contains Page<br>
Variables, not PTVs.<br>
<br>
Try this (tested this time):<br>
<br>
function intcmp($x, $y)<br>
{ return (($x == $y) ? 0 : ($x &gt; $y ? 1 : -1)); }<br>
<br>
$PageListSortCmp[&#39;revcount&#39;] =<br>
 &nbsp;&#39;intcmp($PCache[$x][&quot;rev&quot;], $PCache[$y][&quot;rev&quot;])&#39;;<br>
<br>
<br>
And note that you have to specify order=revcount, not order=$RevCount<br>
with this.<br>
<br>
--<br>
<font color="#888888">-- &nbsp;Rogutės Sparnuotos<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>---------------------------------------<br>| A | de la langue française<br>| B | <a href="http://www.languefrancaise.net/">http://www.languefrancaise.net/</a><br>| C | <a href="mailto:languefrancaise@gmail.com">languefrancaise@gmail.com</a><br>
---------------------------------------<br>