Programmers use different kinds of sorting algorithms to organize information in a computer program. A sorting algorithm is a set of step-by-step instructions that puts information in the correct order.
One kind of sorting algorithm is the selection sort. In a selection sort, you find the biggest or smallest piece of information in a list and pull it out of the list. Then, you put it in a new list, in the correct spot.
Can you use a selection sort to sort the giraffes from tallest to shortest?
You used a selection sort to sort the giraffes!