insertNewChild - where I want

From what I have seen so far with insertNewChild() it just tacks the new node at the end of any other nodes of the parent.

Is there any way to place the node exactly where I want, eg. alphabetically or numerically?

There is no such ready approach
But you can use the next some usefull things:

  1. you can set your custom sort function: setCustomSortFunction(func)
  2. you can sort your tree: sortTree(nodeId,order,all_levels)
  3. you can iterate all the nodes via JS and get the node, for which you will use the method insertNewNext(itemId,newItemId,itemText,itemActionHandler,image1,image2,image3,optionStr,children)

Ok, thanks! . insertNewNewNext sounds like the go.

You are welcome!