Skip to content

Commit

Permalink
Merge pull request #1480 from Kentzo/cappuccino
Browse files Browse the repository at this point in the history
---
  • Loading branch information
aljungberg committed Mar 19, 2012
2 parents 3b85a67 + 91eb23b commit 38a0a26
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Foundation/CPSet/CPSet.j
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,15 @@
return NO;
}

/*!
Returns an array of the set’s content sorted as specified by a given array of sort descriptors.
@param sortDescriptors An array of NSSortDescriptor objects.
*/
- (CPArray)sortedArrayUsingDescriptors:(CPArray)aSortDescriptors
{
return [[self allObjects] sortedArrayUsingDescriptors:aSortDescriptors];
}

/*!
Compares the receiver to another set.
@param set The set with which to compare the receiver.
Expand Down

0 comments on commit 38a0a26

Please sign in to comment.