Tape the housing to the bars before wrapping. I spend a significant amount of time in the drops and like the cables to exit up and somewhat out of the way when I reach up for the brakes.
Wrap from brake lever to ends and finish with your shrink tubing or tape. Or like some Rivendells and put the cables and shifters on last anchoring the housing with twine. I’ve done it that way but not on my go fast bikes.
__________________
I don't do: disks, tubeless, e-shifting, or bead head nymphs. But I do hate all e-bikes.