Currently I am working on a contact manager project where I have a contactMgr class, and a contact class within the contactMgr class that stores a contacts info.
To start out the program, I create a contactMgr array with 20 indices. Then, when I create a contact, that includes name, email and phone number, I then store it in the contactMgr array. All of the fields for the contact object are stored as Strings.
How can I sort the contact objects in the contactMgr array alphabetically by name?