Implementations of various sorting algorithms in Java.