Canonicalization

For reviewing this code
consider this 

l = ['a', 'ab']
max(l, key=len)
max(l, ken=sorted)
https://docs.python.org/3.3/library/functions.html#min