Topics in this sectionSorting and Filtering Data2 topics
- Sorting Data
- Filtering Data
Sorting Data in Spreadsheets
When you work with lists of information in a spreadsheet, finding what you need becomes much easier when the data is arranged in order. Sorting means arranging data in a specific sequence — either alphabetically, from smallest to largest, or from largest to smallest. This simple skill helps you make sense of big sets of numbers and text without reading through every single row.
Imagine you have a list of items sold at a market in Juba, with columns for the item name, price in SSP, and quantity in stock. If the list is scrambled, you cannot quickly answer questions like "Which item costs the most?" or "Which item do we have the least of?" When you sort the data, patterns become visible instantly, and you can make decisions faster. Sorting is one of the most common tasks people do in spreadsheets, whether tracking school exam scores, recording sales at a boma shop, or listing supplies for a county health clinic.
Alphabetical Order (A to Z)
When you sort text in alphabetical order, items that begin with letters closer to the start of the alphabet appear first. For example, sorting a list of fruits alphabetically would put "Apple" before "Mango" and "Mango" before "Orange." This is called sort ascending — the order goes forward through the alphabet.
Smallest to Largest (Ascending)
For numbers, ascending order means the smallest number comes first. If you have a column of prices — 50 SSP, 200 SSP, 75 SSP, and 120 SSP — sorting in ascending order arranges them as 50, 75, 120, 200. This helps you see the cheapest items or the lowest scores at a glance.
Largest to Smallest (Descending)
The opposite of ascending is descending order, where the largest number or the letter farthest in the alphabet comes first. Sorting prices in descending order would show 200, 120, 75, 50. This is useful when you want to see the most expensive items first or identify the highest-scoring students.
Sometimes a simple sort is not enough. Consider a list of farm supplies where two products might share the same category — for instance, two different types of sorghum seeds. If you simply sort alphabetically by product name, the categories stay mixed. To organize first by category and then by price within each category, you need multiple-level sorting, also called a custom sort or multilevel sort.
Here are the steps to sort by multiple levels in a spreadsheet:
-
Open the sort dialog. Click the Sort & Filter command in the Editing group on the Home tab, then choose Custom Sort. Alternatively, go to the Data tab and click Sort in the Sort and Filter group.
-
Choose the first column to sort by. Click the drop-down arrow in the "Column" field (the first "Sort by" box) and select the column that should be sorted first — for example, Category.
-
Set the order for the first column. Keep the default set to Value and choose A to Z (alphabetical) so each category groups together.
-
Add a second level. Click Add Level. A new row appears below your first choice.
-
Choose the second column. In the "Then by" field, select the next column — for example, Unit Cost. This tells the spreadsheet to sort within each category by price.
-
Set the order for the second column. Choose Smallest to Largest so that within every category, the cheapest items appear first.
-
Apply the sort. Click OK. Your data is now organized first by category and then by price within each category.
This method works whether you are sorting a small class register from Wau, a list of medicines in a Malakal clinic, or inventory for a shop in the Nile basin.
Suppose you have the following spreadsheet of agricultural products sold in a county market:
| Product | Category | Price (SSP) |
|---|---|---|
| Dura | Grain | 150 |
| Maize | Grain | 100 |
| Sesame | Oilseed | 300 |
| Sorghum | Grain | 120 |
| Groundnuts | Legume | 200 |
If you sort by Category (A to Z) first, then by Price (Smallest to Largest), your result will be:
| Product | Category | Price (SSP) |
|---|---|---|
| Maize | Grain | 100 |
| Sorghum | Grain | 120 |
| Dura | Grain | 150 |
| Groundnuts | Legume | 200 |
| Sesame | Oilseed | 300 |
All grains are grouped together and listed from cheapest to most expensive, followed by the legumes and oilseeds in their own groups. This organized view makes it easy to compare grain prices or see which category has the lowest-priced items.
In everyday life in South Sudan, sorting data helps people manage small businesses and community resources. A shopkeeper in Wau can sort a spreadsheet of inventory by quantity in stock to see which items are running low and need reordering. A teacher at a county secondary school can sort examination scores from highest to lowest to quickly identify the top performers. Even a farmer tracking sorghum or maize yields across different bomas can sort the data by harvest amount to see which land produced the best results. Simple sorting transforms a scrambled list into useful information that supports better planning and decision-making.
Question
What does sorting mean in a spreadsheet?
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet