import random


def randomize(x, y, length):
    """Randomize order of values in x & y"""
    random_indices = list(range(length))
    random.shuffle(random_indices)
    x = x[random_indices]
    y = y[random_indices]
    return x, y