Sort networks by domain count