Remove spring - I use pliers, but a proper 'Circlip' plier is better.
Fit socket with correct orientation.
Refit spring by opening enough to get part into the socket groove, then gradually get all the spring into the socket groove. You might need some cuss words hear if things move.....
If the last bit of spring is still outside the groove, usually pushing down with a screwdriver will get it to spring into place.