order by and then by c# code example
Example: order by and then by c#
listOfPeople.OrderBy(person => person.LastName)
.ThenBy(person => person.FirstName)
listOfPeople.OrderBy(person => person.LastName)
.ThenBy(person => person.FirstName)