How can I align a socket to world axis?

Open a skeleton, select a socket, and I can only see its relative rotation to its parent bone. I need a way to find a relative rotation that is converted exactly to (n*90,n*90,n*90) in world rotation, or directly set a requested world rotation and let the editor convert to back to relative rotation. Any ideas?