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); } );
You can use Linq for basic sorts:
refSortNodeList.OrderBy(n => n.m_valRating);
If you need more complex sorting your will need to implement IComparable to use the built in sorting.
IComparable