Using this code to build my navigation
CMS.TreeEngine.TreeProvider tree = new CMS.TreeEngine.TreeProvider();
tree.MergeResults = true;
DataSet menu = tree.SelectNodes(CMSContext.CurrentSiteName, "/%", CMSContext.PreferredCultureCode, true, "CMS.MenuItem;CMS.Blog;quiller.specialisms", "DocumentMenuItemHideInNavigation = 0", "NodeLevel,NodeOrder");
problem is it pulling out all the cms.menuitem pages and then the cms.blog pages.
e.g order should be
Home | Abouts Us | Blog | Contact
but it pulling out in this order
Home | About us | Contact | Blog
i've looked at that tree.sortmergedResults but nothing seems to work.
Any ideas ?