The randomness issue was a server bug, and was resolved in 1.20.2:
(Library) Shuffling content could result in deterministic results