If you clean your basketball first, you'll have an easier time cleaning the glass. Your ball can become dusty and dirty as time goes by.
In the absence of dust, your ball becomes slippery - making passing, shooting, and dribbling more difficult. Wet leather can destroy the surface of a ball.