Residency Match Day Cartoon

I did this cartoon back when Harry Potter was super hot and when some of my friends were getting ready for the results of the match to find out where the Sorting Hat would be sending them for the next stage of their medical training careers.

How does the residency match algorithm work? I imagine it much less sophisticated than the Sorting Hat.