C# Function to Sort TreeView TreeNode, sort nodes with child nodes first (asc), then nodes without children (asc)
Completed
Posted
Aug 25, 2014
Paid on delivery
$10-30 USD
Paid on delivery
Completed
Paid on delivery
I need a C# function that will take in a TreeNode of a TreeView and sort it. I want to to sort nodes with child nodes first (alphabetically) then sort the remaining nodes that do not have children, again alphabetically. When I do a [url removed, login to view]() it sorts all the nodes alphabetically, nodes that are expandable (have child nodes) do not come first; I want them to.
private void sort_node(TreeNode node)
{
//code
}
Thanks.
Project ID: #6370991
About the project
1 proposal
Remote project
Active Aug 25, 2014
Awarded to:
$15 USD in 1 day
(0 Reviews)
0.0