someList.Sort((a, b) => a.Foo.CompareTo(b.Foo));