Java Sort Part Of Arraylist Methods Javatpoint Cpp