How to dry wet sugar?
If the sugar is just damp -not wet beach sand- tip it through a sieve/strainer gently enough to catch the clumps. These lumps can be air-dried in a shallow layer (not humid conditions) then once again into a strainer and rubbed through to separate. Or just enjoy the homemade 'cubes' with your tea.