Sort folders by date or by name

Fix #7 with `--sort-folders date` or `--sort-folders name`.