I was a music nerd (dork-estra). Had a lot of friends between school, religious school and music activities. Middle school was very hard for me because that was when popularity was valued far beyond brains, but by high school most people respected intelligence (and those that didn't at least tried to show respect by asking to copy my work - ha!). I was a good girl, save for a few select nights getting wasted with friends. Did everything that was "expected" of me - moved out of home town, Ivy League, master's, marriage, 2 kids, dog, good job. Very happy and still a serious dork

Most of the "in crowd" from my school are still in or around our home town, with varying degrees of success. I'd say the most important thing for your daughter is to find her some activities where she can expand her social circle with friends that share her interests. Look outside her immediate school group.