Others

How to Fix OneNote Sections Sorting Incorrectly by House Number

Steve KSteve K Nov 3, 2026 870 views

Question details

Users need to sort OneNote sections numerically instead of alphabetically when they contain numerical values such as house numbers.

How to Fix OneNote Sections Sorting Incorrectly by Numbers
Product
Microsoft OneNote
Device & OS
iPad, iPhone, Windows
Scenario
Organizing and sorting notebook section names that contain numbers in the hundreds or tens.
Observed behavior
OneNote treats numbers as text during sorting, causing it to sort alphabetically. As a result, numbers starting with a smaller digit (like 29) appear before numbers starting with a larger digit (like 3).
Before you start

Ensure your OneNote app is fully synced to OneDrive across all devices before making structural changes or renaming sections to avoid accidental data loss.

Solution 1Recommended

Add Leading Zeros to Section Names

Since OneNote uses alphanumeric sorting, padding shorter numbers with leading zeros forces the alphabetical sort to align with true numerical order.

OneNote treats all section titles as text strings. When it encounters numbers, it evaluates them digit by digit from left to right. By adding zeros to the beginning of smaller numbers, you ensure all numbers have the same number of digits, resulting in a correct numerical sequence.

1
Identify the maximum number of digits

Look at the highest number in your sections (e.g., if you have house numbers in the hundreds, the maximum is 3 digits).

2
Rename shorter numbers

Right-click (or long-press on iPad/iPhone) the section tab and select 'Rename'.

3
Pad with leading zeros

Add zeros to the front of the number so it matches the maximum digit count. For example, change '3' to '003' and '29' to '029'.

4
Apply sorting

Once all sections are padded with zeros, OneNote will automatically sort '003', '029', and '150' in the correct order.

Add Leading Zeros to Section Names
Sorting Consistency: This method works universally across iPad, iPhone, and Windows versions of OneNote without requiring you to move or recreate notebooks.
Free Microsoft Office alternative

Looking for a Better Way to Organize Your Documents? Try WPS Office

If formatting, sorting, and syncing glitches in Microsoft Office applications are slowing you down, consider switching to WPS Office. It provides a lightweight, unified platform for your Word, Excel, and PDF files, designed for seamless organization and high compatibility.

  1. 1. Download and Install: Get WPS Office for free from the official website and install it on your PC or mobile device.
  2. 2. Open Existing Files: You can open your existing .docx, .xlsx, and .pptx files directly in WPS Office without losing any formatting.
  3. 3. Organize Your Workspace: Use the all-in-one tabbed interface to sort and manage your documents cleanly in a single window.
Free and lightweight alternative to Microsoft OfficeFully compatible with Microsoft Word, Excel, and PowerPoint formatsIntuitive tabbed interface helps you organize and sort multiple documents effortlesslyBuilt-in robust PDF editing and document management toolsSeamless cloud synchronization across Windows, Mac, iOS, and Android
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneNote sort the number 29 before 3?

OneNote uses an alphabetical (alphanumeric) sorting logic rather than true numerical sorting for section titles. It reads the first character of the string first; since '2' comes before '3', it places 29 before 3, regardless of the overall value of the number.

Can I manually drag and drop sections to fix the order?

Yes, you can manually click and drag section tabs to reorder them exactly how you want. However, if you rely on the automatic sorting feature, it will revert to alphanumeric sorting unless you pad the numbers with leading zeros.

Does adding leading zeros affect searching in OneNote?

When you add leading zeros to section names (e.g., '029'), searching for '29' might not immediately highlight the section title depending on your search parameters. You may need to type the exact padded string ('029') to locate the section title directly, though page contents remain unaffected.