Yes, sometimes it does make difference. Usually no. With VS the first header file it needs to see is the "stdafx.h" after that order does not make that much difference. Just a quirk of VS.
There are some rare occasions when you may find the the order of header files will make a difference.