How are the images shuffled within the batches?

Thank you for your explanation. Is there any working example regarding the usage of Dataloader WITH replacement?