Hi,
Say I have a Person class with Name, Age, Level properties.
I know how to order by one of the properties, with
PersonList.Sort(delegate(Person p1, Person p2) {
return p1.Name.CompareTo(p2.Name);
});
But how can I order by Name, Age and Level.
An equivalente of the sql sentence : ORDER BY Name, Age, Level
Thank you