I have array of objects person (int age; String name;).

How can I sort this array alphabetically by name and then by age?

Which algorithm would you use for this ?

15 Answers
15

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *