@
steve
, the lambda in things like "lambda w: w.lower()" is also typically superfluous, because you can just pass the *class method* directly, e.g.: sort(…, key=str.lower)