For the names if Person and 1 and Person 2 have the same last name they will be listed:
Last Name, Person 1 and Person 2
For the names if Person and 1 and Person 2 have different last names they will be listed under both people's last names:
Entry 1: Last Name 1, Person 1 (First and Last Name) and Person 2 (First and Last Name)
Entry 2: Last Name 2, Person 2 (First and Last Name) and Person 1 (First and Last Name)