P.R.
Putting her to bed earlier is definitely not going to solve the problem.
Does she get up to go to the bathroom on her own or does she come to get you to take her?
I would explain to her it is not her fault she is waking up during the night, but that unless it is an emergency she should go to the bathroom and go back to bed without disturbing other people.
Sleep walking is not her fault either. My son used to do this. I just locked the doors and put the keys where he couldn't get to them so he wouldn't wander away outside. My brother did the sleep walking thing too. We made sure the basement door was chained across the top and dead locked the front and back door since he wandered outside in the middle of the night in 2 feet of snow barefoot on one of his adventures. My mom and I heard the door close which is why we knew what he had done. They both out grew it, but my son got up between 1 and 2 a.m. everynight from the time he was 4 until he was 14. He would get a drink, go to the bathroom and go back to bed.