Skip to main content

…

Use intro sort in a browser-based workflow to sort sample inputs, inspect the ordered result, and support algorithm study or validation.

Controls
Use the recommended preset, then start or single-step to inspect the trace.
Leave blank to generate the selected preset automatically.
Use the same values on every sorting page.
Preview the current dataset or start a run to inspect each step.
Compare Swap Write Active range Pivot
Sorting Workbench
Inspect the current dataset, then run the algorithm to trace every comparison and write.
Hero tool Start with random Debugger walkthrough
Preview
Current step
No run active yet.
Trace details
Phase
Preview
Range
N/A
Indices
N/A
Values
N/A
Pivot
N/A
Metrics
Recent trace
  • Run the current configuration to build a step trace.

…

…

Less than 10% of the code has to do with the ostensible purpose of the system; the rest deals with input-output, data validation, data structure maintenance, and other housekeeping.

Mary Shaw

…