Python modules

importDocumentation » The Python Tutorial » 6. Modules
https://docs.python.org/3/tutorial/modules.html

from import *

imports all names except those beginning with an underscore (_). In most cases Python programmers do not use this facility since it introduces an unknown set of names into the interpreter

list.sort(key=len) sorted(iterable, key=str.lower)

Documentation » Python HOWTOs » Sorting HOW TO
https://docs.python.org/3/howto/sorting.html

l4 = sorted(l4, key=lambda concept: (concept[0].lower(), concept[1])
http://stackoverflow.com/questions/10269701/case-insensitive-list-sorting-without-lowercasing-the-result

https://developers.google.com/edu/python/sorting

http://stackoverflow.com/questions/4659524/how-to-sort-by-length-of-string-followed-by-alphabetical-order