An employer will usually make their decision on the basis of skills, time in the job, disciplinary record or performance reviews. They cannot make anybody redundant because of:
Membership of a trade union
Age or gender
Holiday or maternity leave requests
Pregnancy
Whistleblowing