add ordering to directory tree creation