Always sort keys for consistency
All is_X_ipY code is generated through common code
Add docs and tests for is_special_ipv6

Also fix the the special range