diff -r 3fd3f116f2fc -r ac5d14a35482 cocoaTouch/TeamSettingsViewController.m --- 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]; }