I'm pretty sure there is an option, under normals, that will flip whichever normals are not pointing in the same direction as the majority of them.