When I have two sets and I use the union function to join them together, should the numbers be ordered from lower to highest? If not, how does python organize the number in the sets when joined together.
setA = {1,2,3}
SetB = {3,400,340,23}
print(setA.union(SetB))
The output is {400, 1, 2, 3, 340, 23} which is not ordered so I was wondering how the union function organises the numbers.