cories don't care if they have spots or not they are still cories and will school they only time it would matter is if you want to breed a specific cory. To bring out colors or patterns you want them to be the same.
It's a bit more than that. The different Corydoras are different species; it's not like different breeds of dogs so much as the difference between lions and tigers. They might interbreed, they might not, but they are separate species.
The corys do care. They will, given the choice, always spawn with their own species.