def sort(list):
	while not isSorted(list):
		permutate(list)
	return list
def sort(list):
    while not isSorted(list):
        i1, i2 = randomIndexes(len(list) - 1)
        swap(list, i1, i2)
    return list