What is the result?

Given the class?

What is the result?

Given the class?

What is the result?

A.
Jane Doe
John Doe
Joe Shmoe

B.
John Doe
Jane Doe
Joe Shmoe

C.
Joe Shmoe
John Doe
Jane Doe

D.
Joe Shmoe
Jane Doe
John Doe

E.
Jane Doe
Joe Shmoe
John Doe

F.
John Doe
Joe Shmoe
Jane Doe

Explanation:
The list will be sorted alphabetically (Lastname / Firstname).
first sorted by Lastname
if Lastname equals, sorted by firstname
Output will be:
Jane Doe
John Doe
Joe Shmoe



Leave a Reply 1

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