They are almost random ... as cep pointed out, if you get told to gift to X you know that X is not giving to you, because the cards are in sequence.
It's something to do with cycles. Possibly sub-groups. Partitions of the set that don't include any partitions of size 1.