I have class like:
class SortNode { public Int32 m_valRating = 0; public SortNode(Int32 valRating) { this.m_valRating = valRating; }
It's easy using linq:
var newlist = refSortNodeList.sort( n => n.m_valRating );