list1 = [1, 3, 5]
list2 = [2, 4, 6]
addlist = list1 + list2

n = len(addlist)
for i in range(n - 1):
    minindex = i
    for j in range(i + 1, n):
        if addlist[j] < addlist[minindex]:
            minindex = j
    if minindex != i:
        addlist[i], addlist[minindex] = addlist[minindex], addlist[i]

print(addlist)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: