The list was compiled based on whether cities identified themselves as sanctuary cities, whether they complied with ICE and if they had legal protections for undocumented immigrants