This program creates an array of filled rects and allows the user to search and sort through them according to their height. It demonstrates how searching and sorting algorithms work, as well as the number of steps needed to complete the operation.

Note: This demo requires a Java enabled browser. If you see this message then your browser either doesn't support Java or has had Java disabled.

Click below to download the source files for SortDemo.