The straight-in fitting tightens without twisting the hose. It follows from this, that the orientation at the banjo end doesn't matter. You snug the end with the banjo first, ensure that the hose routing is satisfactory (which orients the hose in the process), then tighten down the straight-in end.
There are at least two caliper thread sizes including at least two pitch dimensions for the same diameter. (In other words, I am aware of two. Both are M10 but pitch could be 1.0mm or 1.25mm. There could be other possibilities.) It would be highly advisable to measure what's on your actual caliper / master cylinder.
I haven't run across a double-banjo with an integral pressure switch. These pressure switches are common for rear-brake applications using aftermarket rearset footpegs with no provision for the OEM mechanical switch. If you're trying to use a non-OEM master cylinder at the front with no provision for a mechanical switch and you have dual-disk brakes, it may be a matter of using a single short brake line from that master to a splitter (i.e. that allows you to install the pressure switch at the master cylinder), and then go from the splitter to both calipers.
That "splitter", if you don't have an OEM one to work with, could consist of a piece of aluminum with a (say) M10x1.25 threaded through hole, as long as the ends are machined flat. Short brake hose with single banjo fitting at the master to an AN fitting on one side of that block of aluminum, and a double-banjo on the other side of that block of aluminum. Aluminum block needs to be long enough so that both fittings don't collide in the middle.