sort folders by path not name.