If p1>p2 to the right Else to the left
If p1>p2 to the right
Else to the left