Question: Provide implementation for a MergeSort method, performed on an array of the attached Person class. This method should sort Person objects alphabetically first by LastName,

Provide implementation for a MergeSort method, performed on an array of the attached Person class.
This method should sort Person objects alphabetically first by LastName, then FirstName, and then again by the Person BirthYear
c# ```
namespace SearchSortAssignment
{
public class Person
{
public string FirstName { get; }
public string LastName { get; }
public int BirthYear { get; }
public Person(string firstName, string lastName, int birthYear)
{
FirstName = firstName;
LastName = lastName;
BirthYear = birthYear;
}
}|
}
```
Provide implementation for a MergeSort method,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!