Can anyone tell me why sorting is not working here?
b = input()
list1 = input().split()
c = input()
list2 = input().split()
set1 = set(list1)
set2 = set(list2)
list3 = list(set1.union(set2) - set1.intersection(set2))
sorted(list3)
print(list3)
in put format :
4
2 4 5 9
4
2 4 11 12