The sweetness from the Bartlett pears, brown sugar, and pineapple helps to balance the tartness of the cranberries. You can adjust the amount of sugar according to your preference. Also, the orange juice acts as a natural sweetener and its acidity helps to mellow the tartness.