changeset 3352 | ac5d14a35482 |
parent 3335 | 2520ee7a5484 |
child 3361 | cfc6cd502f85 |
--- a/cocoaTouch/TeamSettingsViewController.m Fri Apr 16 17:17:43 2010 +0000 +++ b/cocoaTouch/TeamSettingsViewController.m Sat Apr 17 04:59:10 2010 +0000 @@ -76,6 +76,9 @@ [self.listOfTeams addObject:fileName]; [fileName release]; + // order the array alphabetically, so teams will keep their position + [self.listOfTeams sortUsingSelector:@selector(compare:)]; + [self.tableView reloadData]; }