sympy/sympy — pull request #1210 by agmps18 (2012-04-05 14:54:30+00:00)
Title: 2977: Tuple should introspect better on sorting.

Before
>>> sorted([Tuple(1,2),Tuple(1,-2)])
[(1, 2), (1, -2)]
vs
>>> sorted([tuple([1,2]),tuple([1,-2])])
[(1, -2), (1, 2)]

Now
>>> sorted([Tuple(1,2),Tuple(1,-2)])
[(1, -2), (1, 2)]