My fear is that getfqdn will bubble up bad stuff.  I'm not sure the sort will completely eliminate this but we can see what happens.