A beginner-friendly tool: paste number lines and discover which sorting method the steps look like. Start with Bubble, Selection and Insertion. Then try Quick Sort, Merge Sort, Heap Sort and Counting Sort.
Input format: one line at a time. No words like Start or Pass are needed.
Choose a sort, see the first line, then write what the next line should be.
Bubble Sort Selection Sort Insertion Sort Quick Sort Merge Sort Heap Sort Counting Sort
5,1,4,2,8 1,4,2,5,8 1,2,4,5,8
First line is the starting array. Every next line is the array after one visible step or pass.
Use one plain number list per line. No labels are needed. Example: 9,7,3,1 then next line
7,3,1,9.
Basic sorts are best for beginners. Advanced sorts may have different styles of steps. Here we use
one simple classroom style for each: Quick Sort shows each pivot placement, Merge Sort shows each merge
round, Heap Sort shows heap/extract steps, and Counting Sort shows the output being rebuilt.