code: function() {
          var x = 0, y = 0,
              zmgr = this.getDesktopZIndexManager();
  
          zmgr.eachBottomUp(function(win) {
              if (win.isWindow && win.isVisible() && !win.maximized) {
                  win.setPosition(x, y);
                  x += 20;
                  y += 20;
              }
          });
      }
docs: ------------------------------------------------------ Window management methods