public static void SortPopulation() { population.Sort((Sol A, Sol B) => A.CalculateFitness().CompareTo(B.CalculateFitness())); }