using System.Collections.Generic;
public static void Main()
List<Person> test = new List<Person>();
test.Add(new Person("ZZZ ONE"));
test.Add(new Person("YYY TWO"));
test.Add(new Person("AAA THREE"));
test.Add(new Person("XXX, FOUR"));
List<Person> sorted = test.OrderBy(p => p.number).ThenBy(a => a.fullName).ToList();
foreach (var person in sorted) {
Console.WriteLine(person.fullName);
public string fullName { get; set; }
public int number { get; set; }
public Person(string name) {