I have the following code:
v = ['zack', 'timor', 'Topher']
v.sort()
print(v)
['Topher', 'timor', 'zack']
What I want to get is:
['timor','Topher', 'zack']
which is the correct alphabetic order.
Basically it should ignore the difference between lower and upper letters.
I can't just do lower() because ['timor','topher', 'zack']
is not the desired output.
in simple words I want it to compare with this rule: a=A, b=B, ...
How can I do that?