dns: allow sorting of dns records