As you look at it from the front, you want to go counter clockwise. It increases your likelihood of keeping oil out of the intake. Once it's back over let it sit for a while so all the oil can seep back down. Check your filter to make sure it isn't waterlogged with oil. And also check motor mounts.
If you were looking for the actual process of righting a jeep, most just flop on their sides. In that case just winch on the frame rail. If its upside down that's a different can of worms and would depend on if you are on a slope and where you are. That could also be as easy as winching on the frame rail. The goal there would be to get it on its side first