public void SortCompetitorsByNumber() { var competitorsByNumber = Competitors.OrderBy(c => c.Number).ToList(); for (int i = 1; i <= competitorsByNumber.Count; i++) { competitorsByNumber[i - 1].StartPosition = i; } OrbitsRunGridType = RunGridType.Number; Competitors = competitorsByNumber; }