Before you start taking Xanax I suggest you read some of the stories of people who had their lives ruined by the drug. It is a very easy drug to abuse and once you get addicted you will be in a bad world. Your advantage is that we are all warning you up front, so keep it in mind.
Xanax and Valium are the best meds for anxiety free sleep. My sleep problems have always been anxiety related and Valium was the best choice for me, but again you must control the drug use. Do not use it all day long, just take your dose a few mins before bed and leave it at that.
Benedryl should be tried first, it seems to knock me out most of the time but it doesn't make everyone sleepy. I remember Rimbaud and a few other people said Benedryl gave them energy.
Also, smoking a little weed does wonders as well, but depending on your living arrangements and job requirements that might not be an option.