>>> sort [1,6,4,3,2,5] [1,2,3,4,5,6]The argument must be finite.
>>> sort [1,6,4,3,2,5] [1,2,3,4,5,6]
> sort [4,3,1,2] [1,2,3,4]
sort (sort x) = sort x
>>> sort (fromList [("B",1),("A",2)]) fromList [("A",2),("B",1)]
>>> sort (fromList [2, 1]) == fromList [1, 2] True
>>> sort (select [1,4,2,3,3,7]) [1,2,3,3,4,7]