As you have access to the sensor PCB, you can unsolder the wires and resolder in the right places. Once desoldered, you can check them with a meter to see which is which. That'll keep the wiring and connectors nice and neat.
Actually, you don't need the connectors. They're only there to make the installation easier, though inevitably they lead to problems. You have the option to cut off both connectors and solder the wires together. That will be more reliable in the long-term and has the additional advantage that you can adjust the cable to just the right length. In the rare event that you'd ever need to dismantle for some reason, you can cut it again and resolder in seconds.
Actually, you don't need the connectors. They're only there to make the installation easier, though inevitably they lead to problems. You have the option to cut off both connectors and solder the wires together. That will be more reliable in the long-term and has the additional advantage that you can adjust the cable to just the right length. In the rare event that you'd ever need to dismantle for some reason, you can cut it again and resolder in seconds.