Sorts written in Java for the grins.