Others

How to Sort SharePoint Issue Numbers Correctly (e.g., 4.2 vs 4.10)

Chanuka GeekiyanageChanuka Geekiyanage Oct 29, 2026 870 views

Question details

The user needs to sort issue numbers like 4.2 and 4.10 in correct numerical order instead of lexicographical order in a SharePoint list.

How to Sort SharePoint Issue Numbers Correctly
Product
SharePoint
Device & OS
not provided
Scenario
Organizing and viewing an issue tracker or list where items are identified by version-like numbers.
Observed behavior
SharePoint sorts text values lexicographically, causing numbers like 4.10 and 4.11 to incorrectly appear before 4.2.
Before you start

Ensure you have the necessary list editing permissions in your SharePoint site to modify column settings or add new calculated columns.

Solution 1Recommended

Change the Column Type to a Number

If your issue numbers do not strictly require a text format and only contain single decimal points, converting the column to a Number type will allow SharePoint to sort them numerically by default.

SharePoint handles sorting differently based on the column type. By configuring the column as a decimal number, SharePoint will evaluate the actual numeric value rather than reading it character by character.

1
Access List Settings

Navigate to your SharePoint list, click the Gear icon in the top right corner, and select List Settings.

2
Edit the Issue Column

Scroll down to the Columns section and click on the name of your issue number column.

3
Update the Data Type

Change the 'The type of information in this column is' setting to 'Number (1, 1.0, 100)'.

4
Save Changes

Click OK at the bottom of the page. Return to your list and sort the column to verify the numbers now appear in correct numerical order.

Change the Column Type to a Number
Data Loss Warning: Changing a text column to a number column may clear values if they contain letters or special characters. Ensure all existing data is purely numeric before making this change.
Free Microsoft Office alternative

Track and Sort Issues Seamlessly with WPS Spreadsheet

If you are managing issue trackers offline or need a lightweight alternative to Microsoft Office, WPS Spreadsheet offers advanced sorting, filtering, and seamless compatibility with Excel formats without the formatting headaches.

  1. 1. Download and Install: Download WPS Office for free from the official website and launch WPS Spreadsheet.
  2. 2. Open Your Issue Tracker: Import your exported SharePoint list or open your existing Excel issue tracker.
  3. 3. Apply Custom Sorting: Select your data range, navigate to the Data tab, and click Sort to easily organize complex issue numbers.
Easily sort complex numerical and text data using intelligent, custom sorting rules.Fully compatible with Microsoft Excel (.xlsx) formats, ensuring seamless migration.Free, lightweight, and features a user-friendly interface for managing issue trackers.
microsoft office alternative - wps office

Frequently Asked Questions

Why does SharePoint sort 4.10 before 4.2?

If the column is formatted as a single line of text, SharePoint sorts values lexicographically (alphabetically). It compares the numbers character by character. Since the character '1' in 4.10 comes before '2' in 4.2, 4.10 is incorrectly placed first.

Can I convert an existing text column to a number column in SharePoint?

Yes, you can edit the column properties in the List Settings and switch its type from 'Single line of text' to 'Number'. However, ensure that none of the rows contain text strings or multiple decimals, as they may cause errors or result in lost data during conversion.

What is the best way to format text numbers to avoid sorting issues?

Padding your numbers with leading zeros to match the maximum expected character length (e.g., writing 4.2 as 04.02) ensures that alphabetical text sorting will perfectly align with actual numerical order.