a=[randint(1,20) for i in range(20)]
print a
b=[]
for i in a:
if i not in b:
b.append(i)
print b
def easysort(arr):
if len(arr)<=1:
return arr
else:
middlen=arr[len(arr)/2]
left=[i for i in arr if i<middlen]
middle=[i for i in arr if i==middlen]
right=[i for i in arr if i>middlen]
return easysort(left)+middle+easysort(right)
print easysort(b)