Not all sheep are white.
It is not correct to say:
All sheep are not white.
Your comment could be taken to mean the second.
Not all sheep are white.
It is not correct to say:
All sheep are not white.
Your comment could be taken to mean the second.