It does matter .
The wire that goes to the center contact of the plug is the positive one .
If you have a multi meter, put an ohm meter lead on the center contact, and then the other lead at the other end of the wire harness, and see which wire gives you continuity, place that wire on the positive terminal of the battery .