Sort order allowed children

Aug 13, 2008 at 2:56 PM

if I am correct, allowedChildItems.Sort(); in the DefinitionManagerN2.Definitions.DefinitionManager.GetAllowedChildren sorts the list of allowed items to add accoring to type...
It would be nice if the sort could be done on Title, is there an option for this?

Aug 13, 2008 at 5:16 PM
I think they are sorted by the highly neglected SortOrder property. I'll look into it.
Aug 13, 2008 at 8:20 PM
I do use SortOrder very often...mainly for the menu's I usually build with a data-repeater. The customer can change the order with this in N2.
But, if SortOrder is used...where is the order declared?
Aug 13, 2008 at 9:05 PM
This are the types of nodes you can create right? it's declared on the [Definition(] attribute.
Aug 13, 2008 at 9:26 PM
Aah, that one...that one I did neglect ... so far ...
Thanks, I'll give it a go