How to shuffle image data and y values together

with images in a different folder and y values in train.csv how do I shuffle them?