Depends a little bit on where you're from, but just to give context- I am an endurance athlete and spend 10-20 hours out in the sun most weeks while engaged in sweaty exercise. The sunscreens designed for endurance athletes (especially for triathletes, which have to put up with submersion in water followed by hours of biking and running) are quite good. My personal favorite is Scape, which is no longer sold in the US but can still be found in Canada.
If you happen to be European or have close friends/family there, the La Roche-Posay sunscreens found in all pharmacies are excellent and are 10-20 years ahead of sunscreen technology in the USA, and are much more effective with both UV A and B rays.