The donuts must be still hot for the sugar to stick. You can also spray or brush a small amount of oil or butter to help it stick better.