>>> type(sorted(set([3,4,1])))
<type 'list'>