Window > Arrange All
The Arrange All command arranges all windows a combination of horizontally and vertically depending on the total number of windows you have open.
Access using the menu bar Window > Arrange All menu sequence.
The Window > Arrange (All, Vertically or Horizontally) menu sequence does not restore or maximize any window that is minimized; it arranges the icons at the bottom of the workspace, below any open windows.