Given a list of strings, write a function to sort the list based on the length of the strings, in ascending order. If two strings have the same length, maintain their relative order from the input list.
['apple', 'banana', 'kiwi', 'orange', 'pear']['kiwi', 'pear', 'apple', 'banana', 'orange']