A sleep disorder, or somnipathy, is a medical disorder of the sleep patterns of a person. Some sleep disorders are serious enough to interfere with normal physical, mental, social and emotional functioning. Polysomnography and actigraphy are tests commonly ordered for some sleep disorders.