Write a function that takes a list of strings and returns the strings sorted based on the length of each string, from shortest to longest.
['apple', 'banana', 'kiwi', 'orange', 'pear']
['kiwi', 'pear', 'apple', 'banana', 'orange']
Bot