Find the top dead center using the upside down on a file method if the other end has a flat to work off of.
Make sure that top flat is really top center and square to the rifle. If not the front sight will be off as well using this method of plotting it out.
The bench/surface you're working off of must be flat and square also for the distance/length of the bbl. Any warpage and the sight will be off center. It only takes a few .000" to one side or the other to be noticable.
Much can be said for last minute eyeball lineup.
I contour the sight for a close fit to the bbl contour. A sweat (soft) soldered joint is very strong. But soft solder does't make a strong filler material as well. It's a weak joint if the fit of the parts is poor.
To make a clean job of it, tin the sight itself and let it cool. Then coat it with a minimum of flux material and clamp it into position onto the clean bbl. No tinning of the bbl is necessary.
When you're satisfied with the allaignment, wipe all around the sight & bbl to clean it of any flux that may have wandered onto the surfaces during the clampin. Then with a common pencil, softer the lead the easier to do,,scribble a coating of the graphite/lead pencil all over the sight and the surrounding bbl surfaces.
Now heat the assembly slowly till the solder melts and withdraw the heat.
Don't overheat it,,heat the bbl from the opposite side, Don't put the flame directly on the parts.
Go slow, you don't want or need to see any color change in the steel parts. If you do, you're burning the flux out and you might as well stop,,let it cool and start over by polishing the parts bright and re-tinning, ect.
Tweek the clamp a touch tighter if you dare just as the solder melts, but you're risking pushing the sight out of line in doing so.
A perfect fit of the parts and a wiped thin coating of tinning on the bottom side of the sight to start with will avoid any settling down of the sight once the solder melts, but you can be the judge.
I used to have a simple piece of flat stock with a sharp point cut on one end. The other was attached to a post so it could swivel. The post mounted on a base. The idea was to place the very point of the heavy bar on the top on the sight or other small object being soft soldered. It held it in position and it's weight also push it downward when the solder melted. The sharp point didn't draw any heat away from the parts during the operation. It's around here somewhere. I used it to mount an awful lot of sights, swivel, ect in years past.
Let the assembly cool on it's own.
Any solder that pushes out from the joint will not stick to the sight or bbl with the graphite coating.
It'll ball up and roll off.
There usually won't be any if the tinning process was done w/o excess.
With perfectly fitted parts and absolutely clean metal,,a perfect solder joint can be had w/o having to tin both surfaces. It saves clean-up and avoids loosing track of any center line point you've already established.