I just ran in to this. If you go with B, the brass sleeve sticks up above the housing, and the top will not set down unless you eliminate the gasket under the thermostat.
The correct order is A, with the turned in lip of the sleeve at the top, and the gasket sitting on that. I am just not sure...