A regular running or cycling program will obliterate the sore legs issue. It doesn't have to be a lot, but it does have to be consistent, More mileage does help. At one point, I was running and training for marathons, and I could hike anything.. never giving a thought to sore muscles.