Pka and Solubility problems

The pka of p-nitrophenol is 7.15 while 2,5 dinitrophenol pka is 5.15. Would you expected these two compounds to dissolve in sodium bicarbonate solution. pKA of carbonic acid is 6.37.

Basically, i believe that p-nitrophenol will dissolve in the sodium bicarbonate solution because the sodium bicarbonate is a much stronger base, while the p-nitropheno is a weaker acid but 2,5 dinitrophenol will not dissolve in sodium bicarbonate solution because it is much more acidic.............I would like to know if i'm right or i'm sort of on the right track and if so, where did i go wrong