<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> <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'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 > $y ? 1 : -1)); }<br>
<br>
$PageListSortCmp['revcount'] =<br>
'intcmp($PCache[$x]["rev"], $PCache[$y]["rev"])';<br>
<br>
<br>
And note that you have to specify order=revcount, not order=$RevCount<br>
with this.<br>
<br>
--<br>
<font color="#888888">-- 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>