The common White commercial variety is only 12-14 °Brix and the blandest.
But there are many varieties, the yellow is among the sweetest.
I have the orange dwarf variety, which can be in the 20's.
>White Dragon Fruit (Selenicereus undatus) ~12–14 °Brix, Delicate and cooling — barely-ripe watermelon with crisp pear and a whisper of kiwi. Subtle and clean; more hydrating than sweet.
>Red / Magenta (S. costaricensis / S. polyrhizus) ~14–19 °Brix, Strawberry-raspberry notes in a rounder, denser flesh than white, with light tartness. Fuller and juicier.
>Yellow (S. megalanthus) ~20-24 °Brix, The most aromatic — honey-sweet with melon and honeysuckle notes, soft acidity, custard-smooth flesh. The sweetest variety.
>Orange Dwarf / Hawaiian Orange (hybrid) ~19–22 °Brix, Honeyed sweetness up front, then a bright mandarin-like tang. Pear-kiwi base underneath; finishes clean, not cloying.