Sort Pages powertoy

Sort Pages powertoy

  • Comments 96

Here is another powertoy that I wrote that I wanted to share with you all. What does it do? It will sort any section's pages into alphabetical order, like this:




  1. You need to have OneNote 2007 + the .Net Framework 2.0 installed on your machine
  2. Download the file here:
  3. Install it!
  4. Close and restart OneNote
  5. You will now have a new toolbar button that you can click which will sort the currently viewed section's pages. The button looks like this:


  1. There is NO UNDO! Once you click that button it will sort the pages and you cannot revert the changes so be careful.
  2. You can only sort A-Z, there are no other options.
  3. It sorts by whatever order the .Net Framework believes is correct for your locale. For example sorting in Japanese does not sort by phonetic sounds like it does in Excel (and other Office apps).
  4. For large sections performance isn't the best, just let it finish and it will eventually get there.
  5. There is no prompt before sorting the pages

As you can see there is still some work that could be done with this but I just didn't have the time. I hope to post the code soon and then anyone can take it, add whatever options they want and make it a whole lot better.

I wanted to thank Kazuko Hishikawa, a Tester on the OneNote team, for helping me out and finding all of the issues that I just didn't have time to work out : ) Thanks Kazuko!

Please let me know what you think, I am just excited that I can point this out to my mom since she really wants this feature. If you have problems or questions please let me know in the comments.

Leave a Comment
  • Please add 8 and 3 and type the answer here:
  • Post
  • Hi,

    Can any-one help? Using XP, Onenote 2007 and .net 2.0 and installed sort pages for everyone but pages sort does not work. Button appears. Click once nothing happens and then goes greyed out. Any-one got any ideas?


  • Hi,

    I was also having problems with sort pages not working as posted, but found the solution. Although I had .net 2.0 installed, xp etc. when onenote 2007 was originally installed it did not install .net Programmability Support by default. all you need to do is add that installation option to run from the computer by adding the feature from your onenote office disks and all works fine.Hope this helps.

  • hi dan,

    are you releasing the code for this? It would be of help if you did.



  • I'd like to modify the code so it examines the existing sort order and reverses it -- so you can sort A-Z then Z-A by applying it twice. The sort order would be determined by examining the first two pages.

    Is the source available, please?

  • On occasion my Vista Windows Mobile Device Center just...well.. doesn't recognize the device and a new partnership has to be created.  This creates a second OneNote Mobile section called "DeviceName_2".  Although the mobile  device sorts the pages, the local App doesn't... or at least it didn't before I downloaded this app.

    I really... appreciate... your time... you certainly saved me a bunch of time.

    Thanks again..

  • this is great. any chance for a similar powertoy to sort lines in a table?

  • A few astute readers pointed out I (intentionally) missed a few addins the OneNote team finished last

  • This is nice, but a "sort by date" button would be godlike.

    Could this be realized?

  • Awesome!  30 seconds to download, install, and use.

  • Is there a way to collaps all the subpages, so i only see the page level?

    Any ideas?



  • I would greatly appreciated, if Sort Pages powertoy not only alhpabetically, but also by creation/modification time.

  • If you don't know I am a HUGE OneNote fan and have converted countless people from using Notepad

  • Is it possible to get Sort Pages powertoy to sort in reverse order as well?  Like instead of sorting dates from 1990 to 2008, sort them from 2008 to 1990?

    This would be a great help.

  • Any possibility of a power toy to sort a OneNote table by a particular column?

  • Is there a way to collaps all the subpages, so i only see the page level?


Page 3 of 7 (96 items) 12345»