When using pythons random.shuffle function, I noticed it went significantly faster to use sorted(l, key=lambda _: random.random()) than rando
random.shuffle
sorted(l, key=lambda _: random.random())
rando