I don't get it that a boolean return turns to a sorted array?How?
its because parameter in method sort is converted to boolean, then the return is used back to sort into array. its difficult to explain.
the best way is practice it in code playground, but Sololearn don't support it yet.
I don't know if it's me alone but I don't understand the question :S
I don't even know what swift is
Swift is the language used to create apps on Apple devices. Version 3 of the language has been released.