[pmwiki-users] Sort PTV on numerical value?

Hans design5 at softflow.co.uk
Fri Oct 31 07:20:01 CDT 2008

Thursday, October 30, 2008, 2:32:13 AM, Russ wrote:

> Is there a way to sort on the numerical value of the PTV instead of the
> ASCII value of the first character?

or add to config.php

$PageListSortCmp['natural'] = 'strnatcasecmp($x, $y)';

and use in the (:pagelist ... markup order=natural or order=-natural


More information about the pmwiki-users mailing list