Fixed list.sort() call using legacy cmp kwarg and legacy cmp() method.
Fixed list.sort() call using legacy cmp kwarg and legacy cmp() method.

For list.sort(), the "key" kwarg should be used instead of "cmp" now. The old
cmp() method is gone, and has now been replaced with:

cmp(a, b) = (a > b) - (a < b)

which is functionally identical, but works in Python 3.

stefraynaud/spanlib