def sort_even(l: list):
    evens = l[::2]
    odds = l[1::2]
    evens.sort()
    ans = []
    for e, o in zip(evens, odds):
        ans.extend([e, o])
    if len(evens) > len(odds):
        ans.append(evens[-1])
    return ans
def sort_even(l: list):
    even = l[::2]
    odds = l[1::2]
    even.sort()
    ans = []
   
    for e, o in zip(even, odds):
        ans.extend([e, o])
    if len(even) > len(odds):
        ans.append(even[-1])
    return ans