how to randomly select an order in a list python code example Example: how to sort a list randomly in python random.shuffle(x, random)