Various sorting algoritmhs and comparisons implemented in Java.