a = [1, 2, 3]
>>> l=[1,2,3]
>>> all(l[i] < l[i+1] for i in range(len(l)-1))
True
>>> l=[3,2,1]
>>> all(l[i] < l[i+1] for i in range(len(l)-1))
False
>>> new_list = [1, 2, 3, 4, 5, 6]
>>> new_list == sorted(new_list)
True
>>> new_list = [1, 2, 3, 4, 8, 6, 5]
>>> new_list == sorted(new_list)
False