I'm not sure why this question wasn't answered earlier, but here goes.
The order of the two brachot (wine and day) on Friday night is an area of dispute between Beit Hillel and Beit Shammai in Mishnah Brachot, chapter 8. Hillel says to do the wine first, Shammai says to do the day first. In the Gemarah (Brachot, 51b) the rabbis explain that Hillel's logic was that the wine causes the holiness for which we say the bracha, while Shammai's logic was that the day caused the holiness.
The gemarah also provides a second explanation that blessings over wine are said regularly, while the blessing for the day of shabbat is said less frequently, and the blessings which are more common always come first.
As is usually the case, the halacha follows Hillel.
As for the second part of your question on the daytime meal, I'm not sure exactly what you're referring to. Since we already blessed the day the previous night, there's no reason to say that blessing again. We recite a few psukim about the shabbat, then the blessing on the wine, then drink. (source and more info at halachapedia).