Counting Sort

Click here to view quick instructions.


Quick Start:

Press Quick Start and the algorithm will run with 10 randomly generated integers.

To create your own input:

Choose how many integers to sort.  1 to 30 integers may be sorted.  Type the number in the space provided and go to the next step.

** Unless you choose Quick Start, you must specify how many inputs you wish to sort before proceeding.

Choose the input to sort from the following.  Input must be integers from 1 to 30.

  1. Press the Random button to generate random input.

  2. Press the Reverse button to generate reversely sorted input.

  3. Press the Sorted button to generate sorted input..

  4. Enter your own input.

** Make sure you have the correct number of integers and that your numbers are separated by spaces.  Only integers and spaces are legal input.

Press the Start Animation button to begin.