How to use this page
Multidisciplinary tools

Browse a named collection or select Browse all tools. Filter by discipline, purpose and access type. A tool may appear in several collections but retains the same access rules. Open a tool and review its example, required entitlement and method. Enter or load suitable local data, calculate, interpret the results and export JSON or print to PDF. Classroom Planning uses active Classroom access; other premium tools use Learning access. No input data is uploaded.

Open user guide
Free

Insertion Sort Trace

Follow each pass of insertion sort and count comparisons and shifts.

Method, assumptions & guidance

Ascending stable insertion sort; one comparison is a comparison of an array value with the key; shifts exclude the final key placement. At most 50 items for readable traces.

Try a practice challenge

Compare the sample with an already sorted list and a reverse-sorted list. Explain differences in comparisons and shifts.

Educational decision-support tool. Verify inputs and assumptions before using results.

Access this tool

Sign in with a verified account and registered device. Premium tools require the indicated active learning or Classroom Tools subscription.

Sign in Create account