Folder Tidy will clean up your messy folders with one click.
Cocoa implementation of HTML Tidy.
It is an application which can tidy up the icons in the Finder.