Sort Pages By Date

Description : Sorts pages in current section or notebook by created or last modified date


Sort Pages By Date

You need Onetastic Add-in
for OneNote to run this macro.
Download Onetastic
Author(s) : Omer Atay
Category : Sort
Last Updated : January 22, 2017
Downloads : 19117
Screenshot :

Sort Pages By Date

Pages and subpages will be sorted together. Your page-subpage hierarchy may be lost.
Sort direction
Sort by
Changelog :

January 22, 2017 (805A53) - Omer Atay
Fixed an issue where the macro would sort pages in all sections in the current notebook even though Current Section was selected as the scope

December 24, 2016 (D478C8) - Omer Atay
Added option to run the macro in all sections of the current notebook

June 20, 2016 (F0F5F1) - Omer Atay
Re-written with the new Macro Language to take advantage of cleaner syntax and performance improvements

These versions are no longer supported:

May 24, 2014 - Omer Atay
Initial version


Micke - 2017-11-30

Thanks for an amazing macro, I found this today and it already made my work life a little easier, the only thing I would like to know:
Is it possible to set it to automatically sort Descending?
I already changed the part: $direction = ($dialog_box.controls["dir"] == "Descending") from Ascending in the xml file but it still sorts ascending when I create a new page/restart one note.


But it still
Omer Atay - 2017-01-22
gsmith7: Thanks for reporting. I fixed the macro and it should work as expected now.
gsmith7 - 2017-01-21
When I'm using this macros it sorts everything in a notebook even when the sort only section option is chosen

using office 365 subscription for onenote on PC running Windows 10

Love Onetastic - thank you