Why does plain yogurt list sugar on the label?
The “total sugars” line includes the sugar that was in the milk to begin with.

You pick up plain yogurt and see several grams of sugar on the back. That can happen even when the maker adds none. Milk naturally contains a sugar called lactose, and it counts toward total sugars. [1]
Do you add the two sugar numbers together?
Read the word “includes” on a US Nutrition Facts label. If one serving has 12 grams of total sugars and includes 5 grams of added sugars, those 5 already count toward the 12. The other 7 grams come from sugars naturally present in the ingredients. [1]
In fruit yogurt, some of the naturally occurring sugar may come from fruit. Honey or a syrup used to sweeten the yogurt counts toward added sugars. The total alone can’t tell you how much the maker added. [1]
What’s the easiest way to compare tubs?
Check the serving size first, especially if one is a single cup and the other is a family tub. Then compare “includes added sugars” for equal amounts of yogurt. That tells you how much added sugar you’ll get. [1]