Skip to content

Commit

Permalink
using stable sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
PrimaryFeather committed Mar 5, 2012
1 parent 1a0680a commit d739725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sparrow/src/Classes/SPDisplayObjectContainer.m
Expand Up @@ -186,7 +186,7 @@ - (void)swapChildAtIndex:(int)index1 withChildAtIndex:(int)index2

- (void)sortChildren:(NSComparator)comparator
{
[mChildren sortUsingComparator:comparator];
[mChildren sortWithOptions:NSSortStable usingComparator:comparator];
}

- (void)removeAllChildren
Expand Down

0 comments on commit d739725

Please sign in to comment.