Do you know what is the only food that is unspoilable? Honey. I had a sample of 200 year old honey from an archeoligist I met in Isreal once.
Sugar is a stable molecule. If sealed inside a container it will last forever. That is why sugar can be used a a preservative.............