ShellSort 1.3 - is a simple sort suitable for 2000 or less elements. It sorts using a comparision routine you provide to compare two elements to be sorted. May be freely distributed and and used for any purpose except military. Version 1.2 uses java.util.Comparator by default. Version 1.3 tidies the code a bit.