Sorting in Microsoft Excel means arranging information in a particular order. You can arrange names alphabetically, numbers from smallest to largest, or dates from oldest to newest.
Imagine your teacher has a list of 50 students and their examination scores. The teacher wants to identify the students with the highest scores.
Instead of checking every student's result manually, the teacher can use Excel's sorting feature to arrange the scores from highest to lowest.
This makes finding important information much faster and easier.
Ascending order means arranging information from the smallest to the largest or from A to Z.
In Excel, ascending order is useful when you want to arrange numbers, names, or dates in increasing order.
Consider the following list of students and their examination scores:
| Student Name | Score |
|---|---|
| John | 70 |
| Ada | 85 |
| Peter | 45 |
| Musa | 95 |
| Grace | 60 |
If you sort the scores in ascending order, the result will look like this:
| Student Name | Score |
|---|---|
| Peter | 45 |
| Grace | 60 |
| John | 70 |
| Ada | 85 |
| Musa | 95 |
Notice that the lowest score appears first, while the highest score appears last.
Descending order means arranging information from the largest to the smallest or from Z to A.
This is useful when you want to identify the highest scores, most expensive products, or newest dates.
Using the same student examination records, sorting the scores in descending order produces this result:
| Student Name | Score |
|---|---|
| Musa | 95 |
| Ada | 85 |
| John | 70 |
| Grace | 60 |
| Peter | 45 |
The highest score now appears first. This makes it easy for the teacher to identify the best-performing student.
Excel allows you to arrange names, places, products, and other text information alphabetically.
Follow these steps:
You can also click the Sort A to Z button from the Home tab under Sort & Filter in supported Excel versions.
Before sorting:
After sorting from A to Z:
Excel can arrange numerical information from the smallest to the largest or from the largest to the smallest.
For example, a shop owner may want to arrange product prices to identify the cheapest or most expensive products.
| Product | Price |
|---|---|
| Rice | 5000 |
| Bread | 2000 |
| Milk | 3000 |
| Sugar | 1500 |
| Beans | 4000 |
To arrange the prices from smallest to largest:
The products will now be arranged according to their prices.
Excel can also arrange dates in chronological order. This means arranging dates from the earliest to the latest or from the latest to the earliest.
For example, a school administrator may have a list of students' registration dates.
| Student Name | Registration Date |
|---|---|
| Ada | 15/03/2026 |
| John | 10/01/2026 |
| Musa | 20/05/2026 |
| Grace | 05/02/2026 |
To arrange these dates from oldest to newest:
Excel will arrange the dates in chronological order.
Sorting is easy, but you must be careful to avoid mistakes.
Imagine you are helping your teacher organise the examination results of five students.
| Student Name | Score |
|---|---|
| Samuel | 65 |
| Joy | 90 |
| Daniel | 55 |
| Faith | 80 |
| Michael | 75 |
Complete the following activities in Microsoft Excel:
In this module, you have learned that:
Sorting helps you organise information quickly. With Microsoft Excel, you can arrange names, numbers, prices, and dates without manually moving information from one place to another.