while(!isSorted(list))
list.shuffle()
SHORT EXPLANATION
1. Randomly shuffle the list until it is sorted.