In the previous chapter, we said that the java creators created the arraylist to help the programmers who use that language to efficiently insert/update and delete stuff in an array. There is one more thing we may want to do with a collection of objects. That is “Sorting”. In this chapter we are going to look at that feature.
Sorting and searching topics have been added to the exam for Java 5.