Sorted alphabetically, but dictionary order (note key=str.lower() in sorted [wfc-3.py]
Sorted by frequency (treat lambda x: x[1] as an idiom to reference the value of the dictionary entry, not the key---to go from highest to lowest, replace x[1] with -x[1]) [wfc-4.py]
Sorted by frequency first, then alphabetically---note use of function alphafreq(x); you can use any function here, and the parameter is the item [wfc-5.py]