If we were to ever consider a fourth child, I think that's exactly the way I'd do it too. I'd 100% want to know before the birth to get any feelings out of the way in advance. But I'm not sure I could hack a sonographer breaking the news, and I certainly wouldn't be telling people that we had found out!