Ron,
I believe you are asking about the orientation of the two studs and the squared stud ends lining up with the shackle bar... correct? If so... take a wrench or an adjustable wrench to the size of the squared flats and the stud will turn so you can line them up once installed.
I'm sorry to put it this way.. but I would never recommend using the weight of the car to put the spring back in place a noted in post #2. Use a spring spreader, porta power, or the like to properly spread the spring to re-install the shackles. Since you got them out.. and I would hope that you used one of those to get it out.. as opposed to just "letting it fly". that you will have it at hand for install.
That's a sure way to take a chance of someone or something getting hurt... and doing damage, bodily or otherwise.
A KR Wilson V8 spring spreader just sold for $200 on ebay. I noticed no one else bid on it but the final and only bidder at the end. It was a bargain... for the life of me I can't figure out why it didn't get more action. Folks to cheap? don't know... etc.
I have one so I didn't need it... but please use something, be cautious, careful.
On installing the shackles many reproductions are too large, and the metal is too soft. I would measure your opening with a caliper and the shackle OD and give a few thousands press fit. There are drivers available that have a hollowed center for driving in the shackle studs. If you have originals available they are best.
A KR Wilson spring shackle installer/remover kit makes this operation a brease. One of the handiest KRW tools I ever purchased.
Be safe,
Larry Shepard