Date of joining and seniority lists within departments are seperate issues.
I work with people who have a date of joining prior to mine but who have less seniority, simply because of the above reasons. Slotting pilots and cabin crew into established seniority lists is purely down to negotiation not legislation.