input: from typing import List
  
  
  def sort_by_length(strings: List[str]) -> List[str]:
      """ Sort given list of strings by their length.
      >>> sort_by_length(["cat", "dog", "apple", "banana"])
      ['cat', 'dog', 'apple', 'banana']
      """
output:     return sorted(strings, key=len)