Posts by Doug • 121 points
1 post
-
2
votes5
answers14262
viewsA: How to sort list with complex object by one of its properties?
Use the method Sort passing a delegate Comparison<T>. objetos.Sort((x, y) => x.Desc.CompareTo(y.Desc)); http://msdn.microsoft.com/en-us/library/tfakywbh%28v=vs.110%29.aspx…