Seniority (last in, first out) cannot be used any longer as the sole decision mechanism in redundancy scenarios.
It can be used as part of (it can be the major part) a solution that can include:
Disciplinary record, attendance record, sickness record - and others.