Which electrolyte is most important for century rides?
Most likely sodium. 

However, a lot of it depends on the person. One person might need more of one electrolyte than another, so it's difficult to make a judgment on the order of your "most critical" electrolytes. A sweat test would be a great way of testing which it might be.