I think your perception of the lack of consistancy may very well cause the lack of sleep. Clearly te lack of sleep can cause a decrease in her cognitive ability. I would strongly advise that the child see a child therapist and possibily consider family therapy.
If you require further clarification or more information, feel free to ask!
Please click the green "ACCEPT" button on this page if you are satisfied with my answer so that I get credit for my work. Your positive feedback is most important and bonuses are always welcomed. If this is a mental health, or medical emergency, please call emergency services (911 in the USA), or go to your nearest Emergency Room. The opinion provided does not replace an evaluation by an appropriate professional. Use of this website DOES NOT CREATE a provider-client relation and this information is for educational purposes only.