def sortVector(nums):
    nums.sort()
    print(nums)

vector = [1,5,2,4,8,2]
sortVector(vector)

# exec("""\ndef sortVector(nums):\n    nums.sort()\n    print(nums)\n\nvector = [1,5,2,4,8,2]\nsortVector(vector)\n""")