You seem to have confused "sociopath" with "evil dude" or "jerk".
Fortunately, The Diagnostic and Statistical Manual of Mental Disorders provides a handy diagnostic checklist for sociopathy, or as it is now called "antisocial personality disorder":
A) There is a pervasive pattern of disregard for and the rights of others occurring since the age of 15, as indicated by three (or more) of the following:
1. failure to conform to social norms with respect to lawful behaviors as indicated by repeatedly performing acts that are grounds for arrest;
2. deceitfulness, as indicated by repeatedly lying, use of aliases, or conning others for personal profit or pleasure;
3. impulsivity or failure to plan ahead;
4. irritability and aggressiveness, as indicated by repeated physical fights or assaults;
5. reckless disregard for safety of self or others;
6. consistent irresponsibility, as indicated by repeated failure to sustain consistent work behavior or honor financial obligations;
7. lack of remorse, as indicated by being indifferent to or rationalizing having hurt, mistreated, or stolen from another.
B) The individual is at least 18 years of age.
C) There is evidence of Conduct disorder with onset before age 15.
D) The occurrence of antisocial behavior is not exclusively during the course of schizophrenia or a manic episode.
A1) Nope, Data is scrupulously law-abiding.
A2) Data rarely lies, and then only when it is vital to do so. He never takes pleasure from it.
A3) Data may seem impulsive, but only because he is capable of thinking much faster than humans. If questioned, it will be clear that he considered the risks and acted in a reasoned manner.
A4) Data has never been seen commiting assault.
A5) Data is always conscious of the safety of others.
A5) Consistant is a very good word for Data's work behavior.
A7) On those few occasions where his actions have harmed others, Data has indeed shown remorse.
B) Special Case: Data is well over 18, but has almost no experience with emotions, so on those occasions where he is experiencing emotion, he may well count as being under 18. Note that the reason someone must be over 18 to be diagnosed with this disorder is that basically
ALL adolescents act this way, and one of the reasons for that is strengthening of the emotional neural pathways in their brain: they are experiencing emotions much more strongly than they ever have before.
Lore, on the other hand, seems to be a textbook case.
Data is much more like Asbergers: he has no empathy, no emotions of his own, and has a hard time both simulating them and predicting others emotional response.