Sort list by field (C#)

list.Sort((x,y) =>
    x.m_valRating.CompareTo(y.m_valRating));

Leave a Comment