Sorting array containing strings in objective c
- by jakob
Hello experts!
I have an array named 'names' with strings looking like this:
["name_23_something", "name_25_something", "name_2_something"];
Now I would like to sort this array in ascending order so it looks like this:
["name_25_something", "name_23_something", "name_2_something"];
I guess that should start of with extracting the numbers since I…