<doocs>2164.Sort Even and Odd Indices Independently_1.py
def sortEvenOdd( nums: List[int]) -> List[int]:
    a = sorted(nums[::2])
    b = sorted(nums[1::2], reverse=True)
    nums[::2] = a
    nums[1::2] = b
    return nums
def sample_funcname ( var_0 : List [ int ] ) -> List [ int ] :
    var_5 = sorted ( var_0 [ : : 2 ] )
    var_9 = sorted ( var_0 [ 1 : : 2 ] , var_7 = True )
    var_0 [ : : 2 ] = var_5
    var_0 [ 1 : : 2 ] = var_9
    return var_0
