I have an arraylist that hold an array of object each which contain a "name".
how can I sort the arraylist by name alpabetically?

Recommended Answers

All 2 Replies

Arrays.sort(arrayName);
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.