private List nodes = new List();
there is a label field inside ISilverNodeModel class of type string.
suppose the nodes list is:
Malcolm,
Sym,
Eric,
Sandrea
I want malcolm and Sandrea always on top and rest to be sorted.
I am doing this but it sorts all :
nodes.Sort((node1, node2) =>
node1.Label.
CompareTo(
node2.Label));
You can write your own IComparer, and use that implementation in the Sort method.
Your implementation could then determine that malcolm and sandra are always smaller then any other label.