Some simple JAVA sorting algos.