Does sugar spoil?
It is my understanding that sugar does not spoil if kept dry. This is because it would likely pull the water out of any bacteria that is unlucky enough to reside in dry sugar. There are certain types of bacteria that can survive dry conditions (those that can for spores). These could not be dehydrated by the sugar. However, water is needed to facilitate the reproduction that leads to spoilage.