How to Fix Incorrect Excel Sorting for AA and Norwegian Letters
Question details
The user needs to correct a sorting issue where the text string 'AA' and Norwegian characters (Å, Ø, Æ) are sorted out of expected alphabetical order.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Sorting a dataset containing both standard English letters and special Norwegian characters.
- Observed behavior
- Excel sorts 'AA' unexpectedly, often placing it at the bottom of the list because regional settings treat 'AA' as 'Å', or due to background macro interference.
Verify your system's current regional format settings and check if your workbook contains any active macros that might be altering text data before sorting.
Check and Adjust System Regional Format Settings
Certain regional formats, such as Norwegian Bokmål, treat the letter combination 'AA' as 'Å', which is the last letter in the Norwegian alphabet. Changing the regional format can restore standard A-to-Z sorting.
Excel relies on your operating system's regional settings to determine alphabetical order. If your system is set to a region that uses the Norwegian alphabet, standard English sorting rules will be overridden.
Click the Start menu and open Settings, then navigate to Time & Language.
Select Region from the sidebar menu to view your current Regional format.
If the format is set to Norwegian Bokmål (or similar), change it to English (United States) or your preferred standard format.
Close and reopen your Excel workbook, select your data, and apply the A-to-Z sort again to see if 'AA' appears in the correct position.

Isolate the Data from Macro Interference
Custom VBA macros, especially those that convert text to regular expressions, can modify cell values and break alphabetical sorting. Testing in a clean workbook isolates the problem.
Perform Standard Excel Troubleshooting
If the sorting issue persists across new files without macros, the Excel application may be experiencing a glitch or add-in conflict.
Easily Sort Complex Data with WPS Spreadsheet
WPS Spreadsheet provides a robust, easy-to-use sorting feature that effortlessly handles multiple languages and complex datasets. Avoid intricate macro errors and regional setting conflicts with a highly compatible alternative for your data management needs.
- 1. Open Your Data: Launch WPS Spreadsheet and open the document containing the data you wish to sort.
- 2. Select the Data Range: Highlight the specific column or range of cells that requires alphabetical sorting.
- 3. Apply the Sort Function: Navigate to the Data tab on the top ribbon, click the Sort icon, and choose Ascending, Descending, or Custom Sort based on your requirements.

Frequently Asked Questions
Why does Excel place 'AA' at the bottom of the list when sorting alphabetically?
In certain regional formats, such as Norwegian Bokmål, the letter combination 'AA' is linguistically treated as 'Å'. Since 'Å' is the last letter in the Norwegian alphabet, Excel places 'AA' at the very bottom of an A-to-Z sort.
Can Excel macros interfere with alphabetical data sorting?
Yes. If an active macro modifies cell content—such as translating text strings into regular expressions—it alters the underlying data. Excel sorts based on this modified data rather than the original text, leading to unexpected results.
How can I safely copy data to test for sorting errors without bringing over bad settings?
You should open a brand-new workbook and use the 'Paste as Values' feature. You can do this by right-clicking the destination cell and selecting the 'Values' clipboard icon. This strips away all formulas, macros, and formatting, leaving only the raw text to test the sort.
Does hardware graphics acceleration affect how Excel sorts data?
Generally, hardware graphics acceleration affects rendering and display performance, not the actual data processing or sorting logic. However, disabling it is a standard troubleshooting step if Excel crashes, freezes, or exhibits visual glitches during a heavy sort operation.




