Sorted(set()) vs set(sorted())

Sorted(set()) vs set(sorted())

G’d evening Monties and Pythoners
I’m starting to learn Python and I wish to understand this different behaviour (I’m using interactive console 3.7 over Win):
Let fruits = ['orange','apple','apple','banana']
thus set(fruits) ===> {‘orange’, ‘apple’, ‘banana’}
and sorted(fruits) ===> [‘apple’, ‘apple’, ‘banana’, ‘orange’]

sorted(set(fruits)) ===> ['apple', 'banana', 'orange']
set(sorted(fruits)) ===> {'apple', 'orange', 'banana'}

Given that sorted(fruits) is [‘apple’, ‘apple’, ‘banana’, ‘orange’],
how come set(['apple', 'apple', 'banana', 'orange']) would place ‘banana’ last? what’s it got against bananas?

list to set conversion is almost always guaranteed to lose any prior order you had because by definition a set is a collection of non-repeated elements of a space.

where as the first example first gets rid of repeated elements and then sorts it