Well, glass already effectively blocks UVB, and windshields are specially treated to block UVA (which is why those sunglasses that automatically lighten and darken are useless behind a windshield). Side and rear windows aren't treated to block UVA though So when driving into the sun, the main concern is reducing the glare rather than protecting your eyes from UV radiation.
I just use a pair of prescription sunglasses