Refactoring
Enabled sorting of dir-tree