Adding sugar in low amounts to food will make it spoil faster. Sugar is only a preservative at high sugar concentrations to prevent bacterial growth.
Notably missing from this lists are acids: lemon juice, vinegar, citric acid which will lower ph and slow bacterial growth.