Hands-on sorting practice allowing students to manually reorder cards using HTML5 Drag-and-Drop or discrete two-card swaps. Validates full sorted order and relative stability in real time with an undo stack.
Total Moves: 0
Array Order: Unsorted
Order Stability: Preserved
Mode: Click 2 cards to Swap | or Drag & Drop along the line to Reorder
Click two cards to perform a discrete swap, or drag any card horizontally to shift it.