def linear_merge(list1, list2):
    newlist = list1 + list2
    newlist.sort()
    return newlist


print(linear_merge(['aa', 'xx', 'zz'], ['bb', 'cc']))
print(linear_merge(['aa', 'xx'], ['bb', 'cc', 'zz']))

486ab2d500fbe70420d807bdd05d7a5fbeb098bb
<mask token>

def linear_merge(list1, list2):
    newlist = list1 + list2
    newlist.sort()
    return newlist


<mask token>

def linear_merge(list1, list2):
    newlist = list1 + list2
    newlist.sort()
    return newlist


print(linear_merge(['aa', 'xx', 'zz'], ['bb', 'cc']))
print(linear_merge(['aa', 'xx'], ['bb', 'cc', 'zz']))
