With a range of 50-500+ yards, you are going to want/need to look at scopes with larger magnification ranges e.g., 5-8x magnification ranges, with the low end around 2-4 power for those close shot on pigs at the feeder. Top end magnification should be based on your shooting ability as to what range you are comfortable with shooting at game.
You may also want to look at various ballistic type reticles or adjustable turrets too for dialing in on those longer shots.
With a quality rifle as your Sako, you may want to look at higher end optics from Leupold (VX 5or 6HD), Swarovski (Z5,6 or 8), Zeiss, Kahles, Schmidt & Bender, NightForce, etc.
The determining factor may be your budget. But also consider what your main hunting/shooting activity will be; is it going to be used mostly for the closer shots, or the the longer shots?
Consider shooting light as well. Quality of light transmission and exit pupil characteristics may be important too. And despite what most people will tell you, the optics engineers will confirm that tube diameter does not improve light transmission and brightness under low light conditions; it provides better windage and vertical adjustment range in a scope for long range shooting. And it adds weight to a scope, so this should be a consideration too. If stand hunting, not a big issue, but if you plan on spot and stalk hunting, you will not want to mount a large, heavy scope on your rifle.
This will help you determine if you need a scope with better characteristics for the close range shots than the long range (and vise-versa), and pick the right scope for you.
Good examples may be 2-10, 3-15, 3.5-18, 4-24, 4.5-14, etc. 5 power as the starting point may be too much for good shooting at 50 yards..you will have to see for yourself.
Whichever scopes you look at, make sure you take them outside and look at objects close and far to ensure that it will provide the field of view you need at close range, while being able to zoom in well on details of objects at long range.