Informal:
* A jar of sweets (straightforward and simple)
* A trove of treats (implies a large and varied collection)
* A bounty of goodies (suggests a plentiful and tempting selection)
* A pot of sweets (if the jar is specifically a pot)
More playful:
* A symphony of flavors (emphasizing the variety of tastes)
* A rainbow of candies (if the sweets are colorful)
* A hoard of happiness (for a particularly large collection)
Ultimately, the best collective noun depends on the specific situation and the tone you want to convey.