The sorting is text sorting - consider the digits as characters
A. Fish:09
B. Fish:10
C. Fish:30

If the numbers are result of some incrementing then start the numbering 
from 100 or 1000
not to have the same problem when 100 or 1000 arrived

Regards
Jiri

Jon Haupt napsal(a):
> When the order= element of pagelist is used on numbers, the sort
> method is digit-by-digit (i.e. 10 comes before 9).  How can I create
> something where 9 is sorted before 10?  I am using this with page text
> variables.  so if I have pages with
>
> A. Fish:9
>
> B. Fish:10
>
> C. Fish:30
>
> and create a pagelist with order=$:Fish, the pages will be sorted BCA.
>  But I want them to sort ABC.
>
> Thanks,
>
> Jon
>
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
> __________ Informace od NOD32 2095 (20070305) __________
>
> Tato zprava byla proverena antivirovym systemem NOD32.
> http://www.nod32.cz
>
>
>
>   

-- 
OBUTEX s.r.o
Ing.Jiří Hladůvka
Zlatovská 22
911 01 Trenčín

tel.: +421 (0)32 6587000
mailto:[EMAIL PROTECTED]

http://www.obutex.com



_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to