[pmwiki-users] Sort PTV on numerical value?

Russ pmwiki at russhosting.com
Wed Oct 29 21:32:13 CDT 2008


I'm trying to use PTV's to sort based on a numerical value, in this 
example the price of an item

If I have three pages with (:price:9999:), (:price:11999:) and 
(:price:19999:) I would like a pagelist with order=-$:price to order the 
pages:

19999
11999
9999

but instead the order is:

9999
19999
11999

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

TIA,

Russ




More information about the pmwiki-users mailing list