def _sort_fixed_ips_for_dnsmasq(self, fixed_ips, v6_nets):
        return sorted(
            fixed_ips,
            key=lambda fip: ((fip.subnet_id in v6_nets) and (
                v6_nets[fip.subnet_id].ipv6_address_mode == (
                    n_const.DHCPV6_STATELESS))),
            reverse=True)
Sort fixed_ips so that stateless IPv6 subnets appear first.
dataset/ETHPy150Open openstack/neutron/neutron/agent/linux/dhcp.py/Dnsmasq._sort_fixed_ips_for_dnsmasq