in the tree view, directories are sorted before files