One of my friends was recently diagnosed with Obsessive-compulsive disorder.
 Obsessive–compulsive disorder (OCD) is a mental disorder where people feel the need to check things repeatedly, 
Yes, exactly! My friend can not stand when things are placed on a table out of line.
It makes one unable to control either the thoughts or the activities for more than a short period of time.
Wow, I did not know that it made one unable to control their thoughts. That is an interesting bit of information.
Such routine as hand washing, counting of things, and checking to see if a door is locked.