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.
Click below to download the source files for SortDemo.