Page Tree Sorter for Confluence
Documentation · Version 2.0 · English and French
Demo video
Silent demo with captions, recorded with sample data.
Overview
Page Tree Sorter sorts the child pages of a Confluence page by title or by date, in one click, with a preview first. Confluence Cloud otherwise places a new page at the end and reorders pages only by drag and drop. With "Keep sorted automatically" turned on, pages created, moved or renamed under that parent are put back in order. Folders, whiteboards, databases and smart links are sorted with the pages. The app runs on Atlassian.
Getting started
No configuration is needed after install. On any page, use the Sort child pages link under the page title, or ••• > Apps > Sort child pages.
- Open Sort child pages on the parent page. The window shows how many child pages it has.
- Pick an order: Title A to Z (default), Title Z to A, Newest first or Oldest first.
- Check the preview: it shows the new order and how many pages will move.
- Optional: tick "Keep sorted automatically" to save the order as a rule on the parent page.
- Click Sort pages. A progress indicator shows how many pages have been moved. You can cancel.
- A final message says how many pages moved. To undo, click "Restore previous order".
Features
- Four orders: Title A to Z, Title Z to A, Newest first, Oldest first.
- Natural title sort: "Release 1.2" comes before "Release 1.10". Accents and capital letters are ignored.
- Preview of the new order and of the number of pages that will move.
- Only the pages that need to move are moved. An already sorted tree is not changed.
- "Keep sorted automatically": pages created, moved or renamed under the parent are put back in order within a few seconds. When a rule is on, the window shows it and offers "Turn off automatic sorting".
- "Restore previous order" puts back the order from before the sort and turns off automatic sorting.
- Folders, whiteboards, databases and smart links are sorted with the pages.
- Handles hundreds of child pages, and waits and resumes when Confluence limits the request rate.
- Light and dark themes, English and French.
Permissions and data
- The app runs on Atlassian's Forge platform (Runs on Atlassian). It uses no external servers.
- Manual sorting runs with the current user's permissions (asUser).
- The "keep sorted" rule can only be turned on by a user who can edit the parent page. The app's Forge trigger then applies it with the app's permissions (asApp), limited to reordering the direct children of that parent page.
- No content is read beyond titles and creation dates.
- read:page:confluence, read:hierarchical-content:confluence: list the child pages of the page being sorted, in their current order, with titles and creation dates.
- read:folder:confluence, read:whiteboard:confluence, read:database:confluence, read:embed:confluence: read the title and creation date of folders, whiteboards, databases and smart links so they are sorted with the pages.
- write:confluence-content: move each child page before or after a sibling to apply the new order.
- write:page:confluence: save the optional "keep sorted" rule (sort order and language) as a content property on the parent page.
- read:confluence-content.summary: required by the page-created and page-moved triggers that keep a page sorted.
- No data leaves your Atlassian site. The app contains no analytics or tracking.
Limits and what is not covered
- Only the direct children of a page are sorted. Sub-levels are not sorted recursively.
- A rule applies to one parent page. There is no rule for a whole space.
- Not covered: sorting by label or page property, automatic numbering.
- You need permission to edit the page and its child pages.
FAQ
- Where is the app? On any page: the "Sort child pages" link under the title, or ••• > Apps > Sort child pages.
- What does "Keep sorted automatically" do? It saves the order on the parent page. New, moved or renamed child pages are put back in order within a few seconds.
- How do I undo a sort? Click "Restore previous order" right after sorting.
- How do I stop automatic sorting? Open Sort child pages on the parent page, untick "Keep sorted automatically" and click "Turn off automatic sorting".
- I can't sort a page. You need permission to edit the page and its child pages.
Support
See the support page or email support@assetguard.fr with your site URL, the app name and a screenshot.