public void Sort() { ChildNodes = ChildNodes.OrderBy(x => x.Record.Name).ToList(); foreach (StreamNode ChildNode in ChildNodes) { ChildNode.Sort(); } }