Care to name some?
http://www.n37dev.com/Docs/Directify/ does it only with files.
But since it does it with files...
Create a temp folder for grouping, like Grouped
Create a file representing each folder (foldername.tmp) in Grouped
Grouped\Foldername1.tmp
Grouped\Foldername2.tmp
Grouped\Foldername3.tmp
Run Directify on them
Result
Grouped\Foldername\Foldername1.tmp
Grouped\Foldername\Foldername2.tmp
Grouped\Foldername\Foldername3.tmp
Use the locations of the tmp files as guides for moving the folders there
Delete representing tmp files