Sorting & Patterns
Sorting means putting things into groups, and a pattern is something that repeats in a predictable order.
Reading is good — doing is better. Practice Sorting & patterns as an interactive lesson.
Try the lessonDefinition
Sorting is when you look at a group of objects or numbers and arrange them by something they have in common, like color, shape, or size. A pattern is a sequence that repeats over and over following a rule, like red-blue-red-blue or 1-2-3-1-2-3. In technology class, we practice sorting and patterns on computers and tablets to help us think like problem-solvers.
Remember the rule
Ask two questions: SAME — what do these things share? NEXT — what comes after in the pattern?
Key words
- Sort
- To put things into groups based on something they share, like all the circles in one group and all the squares in another.
- Pattern
- Something that repeats in the same order again and again, like big-small-big-small.
- Attribute
- A feature of an object you can sort by, such as color, shape, or size.
- Sequence
- Things arranged in a special order, one after another.
- Rule
- The reason things are sorted or the way a pattern repeats, like 'sort by color' or 'repeat every two shapes.'
- Repeat
- To do the same thing again, which is what makes a pattern a pattern.
- Category
- A group of things that all share the same attribute, like a category called 'red things.'
- Extend
- To keep a pattern going by figuring out what comes next and adding it on.
Worked examples
Sort these shapes: circle, square, circle, triangle, square, circle. Put them into groups.
→ Circles: circle, circle, circle. Squares: square, square. Triangles: triangle. · We sorted by shape — that is the attribute we chose.
What comes next in this pattern? red, blue, red, blue, red, ___
→ blue · The pattern repeats every 2 colors: red then blue, red then blue.
What comes next? 1, 2, 3, 1, 2, 3, 1, ___
→ 2 · The sequence 1-2-3 repeats, so after 1 comes 2.
Sort these animals by number of legs: dog, fish, spider, cat, bird.
→ 4 legs: dog, cat. 2 legs: bird. 0 legs: fish. 8 legs: spider. · We chose number of legs as the sorting attribute.
A computer program shows: star, star, heart, star, star, heart. What are the next two shapes?
→ star, star · The repeating unit is star-star-heart, so after heart we start again with star-star.
Sort these numbers from smallest to biggest: 7, 2, 5, 1, 9.
→ 1, 2, 5, 7, 9 · Sorting numbers by size is one of the most common ways computers organize information.
Common mistakes
- Mixing up sorting and patterns — sorting makes groups, patterns repeat in order; they are different skills.
- Forgetting to check ALL the objects before deciding which attribute to sort by.
- Stopping a pattern too early — always look back at least two full repeats before guessing what comes next.
- Choosing two attributes at once when sorting, like putting a big red ball with small red things AND with big blue things, which causes confusion.
- Changing the pattern rule in the middle, like doing red-blue-red-blue and then switching to red-red-blue without realizing it.
FAQs
How do I know what to sort by?
Look at the objects and ask yourself: what is different about them? You might notice color, shape, or size. Pick just ONE of those differences and that becomes your sorting rule.
Can something be sorted more than one way?
Yes! A set of buttons could be sorted by color OR by size OR by number of holes. There is no single right answer as long as you follow one clear rule.
How do I find the pattern rule?
Cover the shapes or numbers and look at just the first few. Ask: when does it start repeating? Count how many items before it starts over — that group of items is the repeating unit.
What if there is nothing left over after sorting?
That is perfect! Every object should fit into exactly one group. If something is left out, check whether you need a new category or whether you sorted it wrong.
Why do computers care about sorting and patterns?
Computers sort information millions of times a day — like putting your search results in order or organizing a playlist. Understanding sorting and patterns helps you understand how computers think.
My child sorted differently than the answer key — are they wrong?
Not necessarily. Ask them to explain their rule. If they can clearly state one consistent attribute they used, their sort is valid. Praise the thinking, then explore other ways to sort the same set.
Want the whole picture for your child?
Every K–6 subject, an AI tutor that teaches step by step, unlimited practice, and a reward world.
Start a 3-day free trial