Doesn't matter as long as each of the ends goes to the matching polarity.