private void SetGlobal() { Swarm.Sort((x, y) => x.Fitness.CompareTo(y.Fitness)); theBest = Swarm.First(); }