Knowledge of isotopes made it possible to explain why the order based on atomic weights was not always correct, because some elements have a higher mass than others when isotopes are considered, but a lower one if you only look at one specific isotope.