# Sorting & Ordering > Fourth graders learn how computers sort — putting items in order, like numbers from smallest to largest. Sorting makes data easy to search and use. They… **Computer Science** | **Grade 4** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-g4-cs-sorting.html* Fourth graders learn how computers sort — putting items in order, like numbers from smallest to largest. Sorting makes data easy to search and use. They order a set of numbers, then sort data of their own. **Copy link** works with Canvas, Schoology, Moodle and any other LMS — paste it in as a resource or assignment. ## Everything you need before the bell rings ### Learning Objectives Students will be able to… - Explain **sorting**. - Put numbers in **order**. - See why sorted data is **easier to use**. - Sort your own data. How do computers put things in order, and why does it help? ## Sort the Numbers Project this and have students put the numbers in order from smallest to largest. ## 45 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Hook — Out of Order Is it easier to find a name in a sorted list or a messy one? #### 👩‍🏫 Teacher Moves - Show a messy list. - Ask what would help. - Set the goal. #### 🎒 Student Actions - Look. - Guess. - Get ready. ### Use — Sorting Students sort. #### 👩‍🏫 Teacher Moves - Send students to Sort the Numbers. - Order smallest to largest. - Note sorted data is easy to search. #### 🎒 Student Actions - Order. - Say. - Note it. ### Modify — Change the Order Students modify. #### 👩‍🏫 Teacher Moves - Sort largest to smallest instead. - Add a number and re-sort. - Check the order. #### 🎒 Student Actions - Resort. - Add. - Check. ### Create — Sort Your Data Students create. #### 👩‍🏫 Teacher Moves - Pick 5 items (ages, scores). - Sort them in order. - Say what you notice. #### 🎒 Student Actions - Pick. - Sort. - Say. ### Reflect — Reflect Students close. #### 👩‍🏫 Teacher Moves - Say what sorting is. - Say why it helps. - Complete the exit ticket. #### 🎒 Student Actions - Say it. - Say. - Complete the exit ticket. ## Built to the standards you report on Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students. Compare and refine algorithms (like sorting). Create programs with sequences & loops. Decompose a problem into smaller parts. Organize data with algorithms. ## One lesson, every learner ### Multilingual Learners - Sort number cards by hand. - Frame: “smallest first.” - Line up by height. ### Support & Access - Sort 3 numbers. - Use a number line. - One compare at a time. ### Stretch & Extend - Sort words alphabetically. - Describe your sorting steps. - Time a sort. ### What to gather - 📽️Screen / board - 🔢Number cards - 💻Sort the Numbers - 📏A number line - 📓Notebooks - 🎫Exit-ticket slips ### Key terms - **sort**: put items in order - **order**: smallest to largest (or A to Z) - **compare**: decide which is bigger - **ascending**: smallest to largest - **descending**: largest to smallest - **data**: the items you sort - **search**: find an item (easier when sorted) - **swap**: trade two items to fix the order ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### Reflect: sorting & ordering. Have students sort 5 numbers smallest to largest. A printable sorting worksheet is in the Computer Science library. ## Check your understanding **1. What does “sort” mean?** - largest to smallest - put items in order *(correct)* - the items you sort - trade two items to fix the order “sort” means: put items in order **2. Which word means: “smallest to largest (or A to Z)”?** - data - ascending - descending - order *(correct)* “order” means: smallest to largest (or A to Z) **3. What does “compare” mean?** - largest to smallest - the items you sort - decide which is bigger *(correct)* - trade two items to fix the order “compare” means: decide which is bigger **4. Which word means: “smallest to largest”?** - descending - ascending *(correct)* - sort - order “ascending” means: smallest to largest **5. What does “descending” mean?** - smallest to largest - put items in order - trade two items to fix the order - largest to smallest *(correct)* “descending” means: largest to smallest **6. Which word means: “the items you sort”?** - descending - order - data *(correct)* - ascending “data” means: the items you sort ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-g4-cs-sorting.html All lessons: https://lessonplans.k12academics.com/