You might be able to get where you need from here, with what already exists.
We have a script that you can use to edit the existing DNS name. You can see that here:http://www.nessoft.com/forums/showflat.php?Number=2080
Once you're able to edit names, then you should be able to edit them to something "groupable", then sort on that to keep your targets together.
Thanks for the great notes on what you want, and why. We've got some stuff in the pipeline that should move further in this direction, so your feedback is most appreciated.
Please let us know if the current solution works for you.