Page Tree Sort
Last modified by Vincent Massol on 2025/01/27 10:18
The Page Tree (Document Tree) Macro has a new parameter named "Sort by" (sortDocumentBy) that controls how the pages (documents) are sorted. This sort parameter has been exposed also on the Children Macro, which is a wrapper around the Document Tree Macro. For now, you can sort the pages ascending or descending based on 4 fields: name, title, last modification date and creation date. Here's an example:
{{documentTree sortDocumentsBy="date:desc"/}}
{{children sort="creationDate"/}}