> Try:
> 
> list.sort(key=lambda el: el[0].lower())

Now, I would like to be able to specify which index to sort by.  I am not
able to pass in external variables like:

List.sort(key=lambda el: el[indexNumber].lower())

I am new to lambda and have searched for a few hours this morning, coming up
empty handed.  Is this possible?

Thanks!

Jough

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to