This provides a way to randomly mix people up. Once they are all lined up, get everyone to call out their birthday in order, starting from the top.
Congratulate them if they have it right, and note any birthdays just gone or coming up (or that day!).
From here, number them off into teams.