Added add method in arraylist in java and fixed sort method (#24980)
Added add method in arraylist in java and fixed sort method (#24980)


raisedadead/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,raisedadead/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,jonathanihm/freeCodeCamp,jonathanihm/freeCodeCamp,FreeCodeCamp/FreeCodeCamp,FreeCodeCamp/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp