How to average island rotation?

Hello
Is the way to auto rotate all uv islands of default cube by positive axises?
Like this https://snag.gy/fUOR5E.jpg

I think this needs clarification.