Comparison of various sorting algorithms, implemented in Java