I have the following class:
class Detail { public Detail() { _details = new List(); } public IList Detail
Another way
_details.Sort((s1, s2) => s1.CompareTo(s2));