← Back to Blog

Home Upkeep

Spot the Problemspreadsheetssortingnumbers

Why did my list sort 10 before 2?

By Life 1122 Foundation

Look down the column for the sequence 1, 10, 11, 2. That order is a clue that the entries are being sorted as text.

110112

Illustration: alphabetic text order places 10 and 11 before 2.

Make a copy of the list. For quantities, convert the column to numbers and sort the entire table so names move with their amounts.

For identifiers such as Room 02, keep the original spelling. Use a separate numeric sort column if leading zeros matter.