Musicman Stingray 5 always seems to have a great sounding B string from my experience owning them. My USA Std Jazz 5 from about 20 years ago had a fair to average sounding B as did a couple of their MiM jazz basses from that same era. I owned a few USA Dimension Elite and Std 5 strings and the B was better but not quite as defined as an SR5. The L-2500 I owned also fell short of the StingRay 5.
Lakland 5s are imo a good choice for a good sounding B. I've owned a
55-60,a 55-AJ and a 55-02 which I still have, and they've all been great in this respect. They're 35" scale length but dont feel any bigger to me than a SR5.
And like fretmeister said, I do find it a bit annoying that I have to generally buy a 0.045 set to get a .130 B string. I prefer 0.040 on the top but something with a bit more meat on it than a .125 for the B 🤨