Use playing cards to master searching and sorting algorithms.
The Royal Card Archive is in chaos! A mysterious glitch has scattered the cards, hidden valuable clues, and scrambled every deck.
Your mission: locate the missing cards, master the art of searching, and restore order using powerful sorting algorithms.
No sign-in required โข Earn badges as you explore
Find the target by choosing the card your algorithm should inspect next. A wrong guess gives a clue; you can try again.
Put cards in ascending order from Ace (1) through King (13). Step through how each algorithm thinks, compares, and moves cards.
Auto-play and Show result demonstrate the method. Points are awarded for completing a run; badges reflect the methods you explore.
These are widely taught methods, not literally every sorting algorithm ever invented. You can compare twelve different techniques in the Sorting Lab.
| Algorithm | Key idea | Typical time |
|---|
Time estimates assume n cards. Counting and radix methods also depend on the range of card values or the number of digits. The game uses small hands to make every operation easy to observe.

Copyright 2026. Grow With STEM. All Rights Reserved.