On 6/8/07, Joe <[EMAIL PROTECTED]> wrote: > 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())
Why ever not? -- Cheers, Simon B. [EMAIL PROTECTED] http://www.brunningonline.net/simon/blog/ GTalk: simon.brunning | MSN: small_values | Yahoo: smallvalues -- http://mail.python.org/mailman/listinfo/python-list