How can I set the pagechildorderrule of a page programatically? I tried
rootPage.Property["PageChildOrderRule"].Value = FilterSortOrder.Alphabetical;
but it doesn't seem to do anything. When I check the page in editmode afterwards the pagechildorderrule is still 1 (should be 3) and the childpages are still sorted according to when they were created, not alphabetically. I can change it in editmode, but when I create pages programatically it's not very optimal to have to go into editmode and change them afterwards :s