Sorting Algorithm

Understand how computers arrange data in order using classic sorting algorithms.

What is a Sorting Algorithm?

Sorting Algorithms

A sorting algorithm is a set of steps that arranges a list of items into a specific order (usually smallest to largest). Three classic algorithms are: • Bubble Sort — repeatedly compares neighbouring pairs and swaps them if they are in the wrong order. • Insertion Sort — builds a sorted list one item at a time by inserting each new item into its correct position. • Selection Sort — repeatedly finds the smallest remaining item and moves it to the front of the unsorted section.

Which algorithm does this describe?

Drag each description into the correct sorting algorithm.

✓ 0 correct
0 / 6
🧩Pick each item and insert it into its correct position in a growing sorted list

Which category does this belong to?

Sorting Algorithm Quiz

Test your knowledge of the three sorting algorithms.

Ready for the challenge?

You will answer 5 questions with 8s per question.