I have a sorted list, let say: (its not really just numbers, its a list of objects that are sorted with a complicated time consuming algorithm)
mylist = [ 1
random.sample implement it.
>>> random.sample([1, 2, 3, 4, 5], 3) # Three samples without replacement [4, 1, 5]