sorted()
sort()
list1 = [4, 3, 7, 1] list2 = [i for i in list1] # 또는 copy.deepcopy를 사용 list2.sort()
list1 = [4, 3, 7, 1] list2 = sorted(list1)