PageListSortPTV

Test pagelist with PTV sort

Sort by -MonthNum
(:pagelist group={$Group} fmt=#ptvsort name="pagelist*" order=-$:MonthNum,name :)
>>comment<<
[[#ptvsort]]
(:template each:)
(:if ! equal "{=$:MonthNum}" "":)
-> "{=$:MonthNum}" [-{=$Name}-]
(:ifend:)
[[#ptvsortend]]
>><<

(:template each:)

"{=$:MonthNum?}" {=$Name}


Default sort by -MonthNum
(:pagelist fmt=#ptvsort2 name="pagelist*" :)
>>comment<<
[[#ptvsort2]]
(:template default group={$Group} order=-$:MonthNum,name :)
(:template each:)
(:if ! equal "{=$:MonthNum}" "":)
-> "{=$:MonthNum}" [-{=$Name}-]
(:ifend:)
[[#ptvsort2end]]
>><<

(:template default group=Test order=-$:MonthNum?,name :) (:template each:)

"{=$:MonthNum?}" {=$Name}

 0: 00.00 00.00 config start
 1: 00.00 00.00 config end
 2: 00.12 00.11 MarkupToHTML begin
 3: 00.12 00.11 MarkupToHTML begin
 4: 00.12 00.12 FPLTemplate: Chain begin
 5: 00.12 00.12 FPLTemplate: FPLTemplateLoad
 6: 00.12 00.12 FPLTemplate: FPLTemplateDefaults
 7: 00.12 00.12 FPLTemplate: FPLTemplatePageList
 8: 00.12 00.12 MakePageList pre
 9: 00.12 00.12 PageListSources begin
10: 00.12 00.12 PageStore::ls begin wiki.d/{$FullName}
11: 00.13 00.13 PageStore::ls merge wiki.d/{$FullName}
12: 00.14 00.13 PageStore::ls end wiki.d/{$FullName}
13: 00.14 00.13 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
14: 00.14 00.13 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
15: 00.14 00.13 PageStore::ls end $FarmD/wikilib.d/{$FullName}
16: 00.14 00.13 PageListSources end count=68
17: 00.14 00.13 PageListSort pre ret=4 order=-$:MonthNum,name
18: 00.14 00.13 MakePageList items count=68, filters=
19: 00.14 00.13 MakePageList post count=68, readc=0
20: 00.14 00.13 PageListSort begin
21: 00.16 00.15 PageListSort sort
22: 00.16 00.15 PageListSort end
23: 00.16 00.15 MakePageList end
24: 00.16 00.15 FPLTemplate: FPLTemplatePmWikiOrg
25: 00.16 00.15 MarkupToHTML begin
26: 00.17 00.15 MarkupToHTML end
27: 00.17 00.15 FPLTemplate: FPLTemplateSliceList
28: 00.17 00.15 FPLTemplate: FPLTemplateFormat
29: 00.17 00.16 MarkupToHTML begin
30: 00.22 00.20 MarkupToHTML end
31: 00.22 00.20 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
32: 00.22 00.20 FPLTemplate: Chain end
33: 00.22 00.21 MarkupToHTML end
34: 00.22 00.21 MarkupToHTML begin
35: 00.22 00.21 MarkupToHTML end
36: 00.22 00.21 MarkupToHTML begin
37: 00.22 00.21 FPLTemplate: Chain begin
38: 00.22 00.21 FPLTemplate: FPLTemplateLoad
39: 00.22 00.21 FPLTemplate: FPLTemplateDefaults
40: 00.22 00.21 FPLTemplate: FPLTemplatePageList
41: 00.22 00.21 MakePageList pre
42: 00.22 00.21 PageListSources begin
43: 00.22 00.21 PageStore::ls begin wiki.d/{$FullName}
44: 00.23 00.22 PageStore::ls merge wiki.d/{$FullName}
45: 00.24 00.22 PageStore::ls end wiki.d/{$FullName}
46: 00.24 00.22 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
47: 00.24 00.22 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
48: 00.24 00.22 PageStore::ls end $FarmD/wikilib.d/{$FullName}
49: 00.24 00.22 PageListSources end count=68
50: 00.24 00.22 PageListSort pre ret=4 order=-$:MonthNum,name
51: 00.24 00.22 MakePageList items count=68, filters=
52: 00.24 00.22 MakePageList post count=68, readc=0
53: 00.24 00.22 PageListSort begin
54: 00.24 00.22 PageListSort sort
55: 00.24 00.22 PageListSort end
56: 00.24 00.22 MakePageList end
57: 00.24 00.22 FPLTemplate: FPLTemplatePmWikiOrg
58: 00.24 00.22 MarkupToHTML begin
59: 00.24 00.22 MarkupToHTML end
60: 00.24 00.22 FPLTemplate: FPLTemplateSliceList
61: 00.24 00.22 FPLTemplate: FPLTemplateFormat
62: 00.25 00.23 MarkupToHTML begin
63: 00.33 00.29 MarkupToHTML end
64: 00.33 00.29 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
65: 00.33 00.29 FPLTemplate: Chain end
66: 00.33 00.29 MarkupToHTML end
67: 00.33 00.29 MarkupToHTML begin
68: 00.33 00.29 MarkupToHTML end
69: 00.34 00.30 MarkupToHTML end
70: 00.34 00.30 MarkupToHTML begin
71: 00.35 00.31 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
72: 00.35 00.31 ReadApprovedUrls SiteAdmin.ApprovedUrls end
73: 00.36 00.32 MarkupToHTML end
74: 00.36 00.32 MarkupToHTML begin
75: 00.37 00.32 MarkupToHTML end
76: 00.37 00.32 now
Peak memory: 4,394,672 bytes