Sandwiching occurs by placing one order before the transaction and another immediately after, which ensures that retail always gets the worst possible price.