Write a function that takes a list of strings and returns the strings sorted based on the length of each string. If two strings have the same length, they should remain in the same order as in the original list.
['apple', 'banana', 'pear', 'kiwi', 'orange']
['pear', 'kiwi', 'apple', 'banana', 'orange']