sorting an array with strings

To make it simple (my array may contain more than 2 strings)
myArray is: 
     (
    "u011.08.20, 16:40:53 CEST00d 00h 00m 00su35",
    "u0
11.08.20, 16:40:53 CEST00d 00h 00m 00su34"


Sorted array should be:
     (
    "u011.08.20, 16:40:53 CEST00d 00h 00m 00su34",
    "u0
11.08.20, 16:40:53 CEST00d 00h 00m 00su35"


I looked at the NSArray doc. There are several proposals. Unfortunately, I don't know how to implement the declarations.

I am grateful for any help
Just do this
Code Block
var myArray = [
"u011.08.20, 16:40:53 CEST00d 00h 00m 00su35",
"u011.08.20, 16:40:53 CEST00d 00h 00m 00su34"
]
myArray = myArray.sorted()
print(myArray)

and get
["u011.08.20, 16:40:53 CEST00d 00h 00m 00su34", "u011.08.20, 16:40:53 CEST00d 00h 00m 00su35"]

Note that array is defined with brackets, not parenthesis.

Thank you for replying. Unfortunately, your answer is for swift code. I asked for help in objective-c. Therefore the parentheses.

Correction. Underscores in the arrays are missing. But this should have no effect. In fact, the arrays are:
  (
  "u011.08.20, 16:40:53 CEST00d 00h 00m 00su35",
    "u0
11.08.20, 16:40:53 CEST00d 00h 00m 00su34"


Sorted arrays should be:
   (
  "u011.08.20, 16:40:53 CEST00d 00h 00m 00su34",
    "u0
11.08.20, 16:40:53 CEST00d 00h 00m 00su35"


Thanks for replying again.

sorting an array with strings
 
 
Q