Stacking D1 mini shields

Hey community!

I want to build/solder a setup where I can use the following components

I also have a mini breadboard like this, since I guess the sensor has to be connected with jumperwires:

Since Wemos always adds three different kinds of addon-pins to their packages (don't know how they are exactly called but I guess #1 are male header pins, #2 are long female headers and #3 are short female headers?!) I wonder how I need to combine and solder those in a correct way.

Because I then need to connect the jumperwires from the sensor to a female pin, I think such long female pins (#2) need to be the top part in the stacking. After that my guess is the following (left side is schematic, right side is just stacked but not soldered):

Regarding the soldering I then need to solder every connection where one of those pins is touching the D1 mini and/or the battery shield, right?

But there is the point where I am stuck since the lowest long female headers won't fit into the breadboard. What possibilty do I miss?

(The final product should be as small as possible...)

Does this even sound like a functioning project?

Thank you all and have nice day!

Typically the long female pins are mounted on the shield and the short female pins are mounted on the processor board. The shield is then mounted above the processor. Here is an example with an UNO shield. There is still access to the processor connections on the top of the shield. This can be useful if the shield does not use all the pins for its function. Other connections can be made to the top of the shield connector. Save the male connector for other projects.