Unless the salary is commensurate with increased value or output, I see no reason why older SDEs should make more than younger devs. To be clear, there is often great value in older SDEs, but "because they have kids and want a house" is not a reason to pay them more.