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):
    xHd3E = l[::2]
    odds = l[1::2]
    xHd3E.sort()
    ans = []
   
    for e, o in zip(xHd3E, odds):
        ans.extend([e, o])
    if len(xHd3E) > len(odds):
        ans.append(xHd3E[-1])
    return ans