Shuffles a stream