By converting all the words to lowercase, we ensure case-insensitive sorting. Without this step, words starting with uppercase letters would appear before words starting with lowercase letters.