It is now possible to add and remove directories to the tree
If we have up to 250 sub-resources, then sort them for the directory listing