I have got an array of strings which i sort using the method
[TableViewPopoverList sortUsingSelector:@selector(localizedCaseInsensitiveCompare:)];
The first part of these strings is a number, however for example if string1 = "16 Ag....." and string2 = "8 Ag...." it sorts it as string1 then string2, obviously it sees the 1 and puts it before the 8, What i want to do is have it so it sees the entire number so it sorts string2 then string1.
What is the easiest way of doing this.
Thanks