I apologize in advance for any grammatical errors that I will make, I currently have a terrible head-cold and I'm not thinking completely clearly. So please take this into consideration.
A small fact that many here don't seem to know or remember (it's very much understandable not to think of); that the Y gene (of the X/Y genes that determine a persons gender, XX is female XY for males, a female passes on the X gene regardless, a male passes on either the X or the Y gene, which then determines the gender) is shrinking and deteriorating out of mankind's genes. This is also one of the primary reasons that the male population of the world (in comparison to the female population) is getting smaller and smaller. Scientists theorize that men will be wiped out in approximately 125,000 years, HOWEVER, that's not to say that women will be wiped out.
Allow me to explain, some animal species have been able to do away with the need for genders without becoming Asexual (The most amusing explanation for Asexual creatures is this; They fuck themselves, they reproduce without needing another of the species), a good example is a particular species of lizard (I'm afraid I've forgotten the name, I'll search for it if no one else can think of its name), they're all female, they have a 0% chance of EVER producing a male of the species. They still need to mate to fertilize their eggs, the act of their mating (we shall call them "lesbian lizards" because you can google search it and because it's a popular term, and it is what they are in a sense) will end up fertilizing the eggs that both females had, not because they received anything from their sexual partner, but because the species had to learn to adapt without a male, and the lizards adapted (evolution, adapt, whatever fits with your beliefs, things change) by copying their own X gene to fertilize their eggs (I won't go into a detailed explanation, I'm tripping over my own words already), thus allowing them to mate without a male.
The aforementioned (and unfortunately loose and weak explanation) could very well apply to humans at some point in time with the male counterpart of man most likely disappearing some time in the very distant future.
EDIT: Regarding the earlier comments about the suns growth, science has said that a star the suns size should take approximately 8.6 billion years to burn out fully, however it wouldn't engulf the Earth. It would completely engulf the first planet from it and turn the Earth into a Barren, lifeless wasteland (either way we're fucked), before eventually shrinking in and imploding. This growth would obviously happen over an unbelievably slow period of time and have a gradual effect, but it wouldn't be stoppable, water would be gone and so would everything else (We're water's *****).