From what I understand sweet corn is the result of a naturally occurring genetic “defect”, for lack of a better word. There are a number of heritable genes that can cause it with names like “su” and “se”. More modern commercial breeders have stacked those genes and came up with new things they call, synergistic and some other names I don’t recall. In my own work with sweet corn, I have avoided all but the older su and se types.
When the seed grows it first produces sugars which then convert to starch as it matures, the starch is the food for the baby corn plant when it first sprouts. If the “sugar” genes are present the starch conversion is inhibited or delayed or maybe in the more modern types prevented completely, I don’t know.
Almost any corn is sweet corn if harvested at exactly the right time, but that exact time is very short. If you want sweet corn that is sweet for a period of a few days instead of maybe hours and that doesn’t immediately start losing the sweet the second it is picked then you grow “sweet corn”, those that have the defective genes.
The “endosperm” inside the corn kernel is the starch and the food for the seedling. In flint corn it is very hard and that is used for polenta and things like that. In flour corn it is soft and that can be ground into flour for tortillas and things like that. I think popcorn is basically like flint corn except the endosperm is even harder.
In sweet corn the endosperm is partly missing. That is why the kernel is wrinkled up or puckered looking. It’s also why sweet corn seed is often coated with poisons, to protect the baby sprout, which is basically starving until it develops good roots, from soil organisms.
I don’t know how exactly the sweet genes are inherited, whether they are dominate or recessive and so on, but it sort of doesn’t matter because that wrinkled appearance is a visual tell-tell that a seed indeed has one or more of them.
General advice I think is to avoid mixing non-sweet varieties with your sweet corn. In my own work with sweet corn, I completely ignored that advise in order to bring other traits like stalk strength, disease resistance and generally greater genetic diversity into my mix. For a period, I ended up with sweet and non-sweet kernels mixed on the same ear but just a few years of planting only the shrunken, or wrinkled kernels brought it back to all sweet.
A bit long winded there but in a nutshell, I would say, leave out the non-sweet, if you’re in a hurry. If you got a few years, include the locally adapted seeds for a more robust population in the long term.
Remember almost all corn is sweet corn, if you time the picking just right and have the water boiling on the stove before you go out to pick it. The color of the seeds is not related to the sweetness.