Rated Top 5% WebApplet by JARS

Written by :
Justin Dildy & Sandeep Poonen
March 1996 (back when all Java info and documentation was available only on the Web!)

This applet animates 5 sorting algorithms :
  • INSERTION SORT
  • SELECTION SORT
  • BUBBLE SORT
  • SHAKER SORT
  • SHELL SORT


  • The different options available for each algorithm are :
  • RESIZING the window to make it bigger
  • FAST or SLOW Mode
  • RANDOM or REVERSE-SORTED data


  • Note : There are a couple of Odometers that have been added to the sorter for aesthetic value only. It measures only upto the nearest 100. So if a sorting algorithm takes 1204 comparisons, the Odometer for Comparisons will stop at 04


    Click on the button at the top of the page and watch the sorting algorithms at work!

    If there isn't a button at the top of the page, either the Java plug-in hasn't been installed in your version of Netscape, or Java is not supported on the program that you are using.






    This link is downloaded from http://blackcat.brynmawr.edu/~spoonen/javaProject/sorter.html
    Originally created by Sandeep Poonen, Sandeep.Poonen@softline-us.com