Java Arraylist Class Sorting Algorithms Javatpoint Sql