Also, having the right tools will make the job really easy. I used a spudger similar to the one recommended on this web site. But i had ordered a complete kit from amazon.com. I did not have any problem removing or re-attaching the pins.
The three cables have different lengths. The longest should to the farthest pin, medium to middle, short to nearest.