I know advertising isn't allowed. I'm hoping this isn't seen as such. I'm just trying to help out the community.
I built this script to sort large numbers of ROMs. Runs on my Mac, and probably on a Linux box, not tested on PC's.
It's free to use.
https://github.com/jockmac22/clean_your_rom