Data shuffling

I upload and label in order.
for instance:
upload all the 1 label and after it all the 2 label.
When I split to train and val it split it in order and as a result it took only the 2 labels.
How can I shuffle the split?