On nutrition labels, the sugar is already counted in the carbohydrates. It is just listed to break down the carbs into categories. You do not need to add them together.
The label is trying to say "this food has 28 grams of carbohydrate of which 25 grams are sugar."
I hope this helps!