I'm trying to use NSSortDescriptor with Core Data to sort build numbers/software versions (NSStrings). The build numbers are actually just NSStrings but it seems to have a hard time with this. I'm guessing because of the multiple and irregular decimal points.
For example, I would like to sort the following.
1.7.6
1.8
1.6.2
1.9.0.1
2.0
Each line represents an NSString.
How would I do this properly or is there another way I should try?