On Fri, 2009-03-20 at 07:54 -0700, thomasvangurp at gmail.com wrote: > You could use: > B=list(set(A)).sort() > Hope that helps. Which will assign None to B. sorted(list(... or B.sort() is probably what you meant.