python hot to sort strings in a list code example Example: python sort list string # s = list with strings s.sort(key=str.lower)