OneNote Sort Order

During my testing of tag strategies, I discovered that OneNote does not observe standard ASCII sort for the Tags Summary panel.  It uses a sort order similar to Microsoft Excel, but slightly different. Excel uses the following:

0 1 2 3 4 5 6 7 8 9 (space) ! ” # $ % & ( ) * , . / : ; ? @ [ \ ] ^ _ ` { | } ~ + < = > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Testing of actual tag sort shows that OneNote uses the following variance on the above:

(space) ! ” # $ % & ( ) * , . / : ; ? @ [ \ ] ^ _ ` { | } ~ + < = > 0 1 2 3 4 5 6 7 8 9 ‘ – A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

This means forcing a tag to the top of the Tag Summary is fairly simple – prefix it with a space, or just about any of the observed special characters (except ‘ or -).  However, to force a tag to the bottom, the only option is to use a “z” since there are no symbols that follow letters in this sort.  Note also that the sort order does not distinguish between upper and lower case.

Leave a Reply

Your email address will not be published. Required fields are marked *