Sorting data
Sorting puts the rows of a table in order using the values in one column, like A to Z or smallest to largest, and keeps each row together.
Understanding Sorting data in Years 5–6 Data & Information
What it does: The sort uses the values in one column, Name, and the rows go in order from A to Z. Choosing the Price column and smallest to largest puts the lowest price in the top row. A to Z means alphabetical order, starting with A. Z to A would be the other way around. Smallest to largest starts with the smallest number and ends with the biggest. Sorting moves whole rows. If only one column moved, the names would no longer match the right scores. Always sort the whole table so every row stays together. Otherwise the data no longer matches.
Common mistakes: The column chosen on line 2 is Age, so the sort must use Age. Sorting by Name would give A to Z order, not smallest to largest. It should be: sort pets by column, order. Sorting one column on its own pulls its values away from the rest of their rows. You must sort the whole table by column B so each row stays together.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 11–20) and word search (Modules 1–20).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
SortFill in the Blanks
Spot the Error
Student with a class code? Join your class →