Any advice on how to help DD out of this wud be welcome!
DD has 2 friends, A and B. They see each other as a three in school, but A and B don't socialise together out of school, and there's sometimes a bit of tension, they basically get on well enough for school, but not that well.
DD had text conversation with A yesterday, A asked DD for a sleepover tonight .DD said that wd be good - a probable Yes, and confirm details later.
Yesterday evening, DD met up with B, they went out together, and at the end of the evening, B asked DD if she'd like to come for a sleepover tonight. DD panicked and said I'll check with my mum.
DD doesn't want to hurt A or B's feelings, neither A nor B know that DD has been invited by both. A would be hurt to be ditched for B, especially as she asked first, but B would be hurt later if she finds out that DD went to A's and DD hadn't said. 
What should DD do?!