try using
[[mySet allObjects] sortedArrayUsingDescriptors:descriptors];
Edit: For iOS ≥ 4.0 and Mac OS X ≥ 10.6 you can directly use
[mySet sortedArrayUsingDescriptors:descriptors];
try using
[[mySet allObjects] sortedArrayUsingDescriptors:descriptors];
Edit: For iOS ≥ 4.0 and Mac OS X ≥ 10.6 you can directly use
[mySet sortedArrayUsingDescriptors:descriptors];