Jump To a Window In an App With the Dock

If you have multiple windows open in an app, and what to choose one without first switching to that app, you can Control+click or two-finger click on the app in the Dock and select the window by name.