Sugar pulls the moisture out of the air or whatever it is touching. So the longer that the sugar is on top of the cheesecake the more moisture it will soak up and lose it's crunch. This is why I recommend caramelizing the sugar right before serving.