This demo displays the execution times of several popular sorting methods.

Open the console to see before-and-after details for each array.


Number of elements to generate:







Algorithm Time (ms)
Binary
Bubble
Heap
Insertion
Merge (Top-down)
Merge (Bottom-up)
Quick
Quick (Lomuto partitioning)
Quick (Hoare partitioning)
Radix Bucket
Radix LSD
Selection
Shell