Default sort orders
In an ascending sort, Microsoft Office Excel uses the following order. In a descending sort, this sort order is reversed.
| Value | Comment |
|---|---|
| Numbers | Numbers are sorted from the smallest negative number to the largest positive number. |
| Dates | Dates are sorted from the earliest date to the latest date. |
| Text | Alphanumeric text is sorted left to right, character by character. For example, if a cell contains the text "A100," Excel places the cell after a cell that contains the entry "A1" and before a cell that contains the entry "A11."
Text and text that includes numbers stored as text are sorted in the following order:
Note If you have changed the default sort order to be case-sensitive through the |
| Logical | In logical values, FALSE is placed before TRUE. |
| Error | All error values, such as #NUM! and #REF!, are equal. |
| Blank cells | In both an ascending and descending sort, blank cells are always placed last.
Note A blank cell is an empty cell and is different than a cell with one or more space characters. |