This is a matter of euphony. You can substitue earlier for sooner, but if you do you should do so in both clauses.
The sooner we leave, the sooner we will arrive.
The earlier we leave, the earlier we will arrive.
Both of these are fine.
The earlier we leave the sooner we will arrive is understandable but unnatural.
Student or Learner