fixes #242 by adding ORDER BY CASE to get_dns_zones