Shuffle data on button click

I am making this website which could use the “SWAP” button to sort the table below randomly in the Staff Name (ID) column. Is that possible?

As I couldn’t find anywhere that I can sort the data randomly.

I am very new to website creating and with no coding knowledge, please bear with me.