Traceback (most recent call last):
File "<pyshell#41>", line 1, in <module>
testList.sort(caseIndepentSort)
NameError: name 'caseIndepentSort' is not defined
>>> testList.sort(caseIndependentSort)
Traceback (most recent call last):
File "<pyshell#42>", line 1, in <module>
testList.sort(caseIndependentSort)
File "<pyshell#36>", line 2, in caseIndependentSort
so,other = string.lower(so),string.lower(other)
NameError: global name 'string' is not defined
>>> import string
>>> testList.sort(caseIndependentSort)
>>> print testList
['a', 'As', 'is', 'List', 'sorted', 'this']
>>>