Rerang the directory