I have class like:
class SortNode { public Int32 m_valRating = 0; public SortNode(Int32 valRating) { this.m_valRating = valRating; }
Try this:
refSortNodeList.Sort(new delgate(SortNode x, SortNode y) { return x.CompareTo(y); } );