Sort Sections

Description : Sort each section in current section group by name


Author(s) : Omer Atay
Category : Sort
Last Updated : August 24, 2017
Requirements : OneNote 2010 or above
Screenshot :

Sort Sections

Sort direction
Changelog :

August 24, 2017 (15EC27) - Omer Atay
Added option to sort all sections in a notebook rather than just the current section group

May 23, 2017 (3853AA) - Omer Atay
Added ascending/descending options and updated to sort numerically if section names start with numbers like 1, 2 etc. This correctly puts a section named 10... after sections named 1... through 9...

June 20, 2016 (34ACAE) - 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


Omer Atay - 2018-01-09
Olivia: It stores for pages but not for sections or notebooks
Olivia - 2018-01-09
I had a similar question to Ellie's, but your answer to the first question puzzles me.
OneNote doesn't store original "created dates" - AT ALL?
That makes no sense, as the pages have "created dates".
I haven't even checked if that feature is even included for the notebooks, themselves.
Would that be included in a future update, I hope?
Ellie - 2018-01-07
Hi, Omar.
You have a great macro with expanded options in "Sort Pages By Date" - I love that one, too!  :)
Is it possible to add the sort by date option for sections or develop a new macro for that?
I have no idea how to do that and you seem to be the most prolific developer, here.  :)
I am trying to keep track of all the care giving agencies my mom has hired to care for my Grandmother.  As we do not hire alphabetically, I need to keep them in order by date so I can quickly get to the current agency when I need to take notes via a phone call, live meeting or email.
Thanks so much for your hard work.
Your macros are SO helpful to this OneNote addict!