It works in both ways! This cornbread recipe and most Southern cornbread recipes are sweet and work well for a wide variety of uses from savory to sweet. If you prefer a less sweet cornbread it's easy enough to add less sugar to make it more on the savory side. Many savory cornbreads also add chilies, cheese, herbs, or bacon to create different savory flavor profiles.