E.M.
don't worry about the sex in terms of getting along with your existing dog....
we have had 1 boy/1 girl, 2 boys/1 girl and 2 girls/1boy. In college we had three female dogs in the same house with zero issues. we had issues with one of the dogs in the above combos not knowing how to meet and make friends with other dogs, but it wasn't a male/female thing. I know some say that two females is the worst combination but I think if they're spayed it's not really an issue.
I'm a much bigger fan of female dogs. I think they tend to be friendlier, less aggressive (even than neutered males), and there is much less territorial behavior (again I've only had fixed animals) such as peeing.
know that if you get a male dog and he's neutered right before bringing him home it will take 3-4 weeks for all that extra testorone to leave his system - that kind of surprised me ( not sure why.... ). so there will be urine marking adn some aggressiveness those first few days/weeks.
so look for a dog that is friendly to other dogs. take your current dog with you to meet the new dog at a neutral place (most shelters have play yards that are essentially neutral and they can be off leash to truly interact).
and if your son wants the dog to prefer him - he has to work at it - do the walks, do the playing, do the treats, do the training.
good luck!