list = [4, 2 , 6 , 8, 0 , 11 , 49, 34 , 100 , 75 , 82 , 3, 42]
def past_sort(arrayToSort):
    a = arrayToSort
    for i in range(len(a)):
        num = a[i]
        indexNum = i
        while (a[indexNum - 1] > num) and (indexNum > 0):
            a[indexNum] = a[indexNum - 1]
            indexNum = indexNum - 1
        a[indexNum] = num
        print (a)
    return a
print (past_sort(list))