A number of implementations of a simple sort.