
Implement sort_ranked_words, which returns the strings of words ranked by length, then by text with case ignored.
sort_ranked_words(["pear", "fig", "kiwi", "plum"])['fig', 'kiwi', 'pear', 'plum']sort_ranked_words(["Bee", "ant", "bee", "Ant"])['ant', 'Ant', 'Bee', 'bee']ranked_words.py
Run the tests to grade your code
Implement sort_ranked_words, which returns the strings of words ranked by length, then by text with case ignored.
sort_ranked_words(["pear", "fig", "kiwi", "plum"])['fig', 'kiwi', 'pear', 'plum']sort_ranked_words(["Bee", "ant", "bee", "Ant"])['ant', 'Ant', 'Bee', 'bee']ranked_words.py
Run the tests to grade your code
Variables will appear here