Option 1 (Joe is prepared):
* To no one's surprise, Joe had his homework ready.
Option 2 (Joe is usually unprepared):
* To everyone's surprise, Joe had his homework ready.
Option 3 (Joe is a good student):
* To no one's surprise, Joe always has his homework ready.
Option 4 (Joe is a procrastinator):
* To everyone's surprise, Joe actually had his homework ready!
Please clarify what you're trying to say about Joe and his homework, and I can help you write a more accurate sentence.