Possible Duplicate:
How to do a natural sort on an NSArray?
Ok I'm blanking out. I have an array of strings that looks like this:
item_0
item_1
item_14
item_26
item_3
but what I really want is:
item_0
item_1
item_3
item_14
item_26
I tried:
[myStringArray sortedArrayUsingSelector:@selector(compare:)];
but that didn't work. Any tips?