public void sort(Comparator<Individual> comparator){
  Collections.sort(individuals,comparator);
}

public void sort ( Comparator < Individual > comparator ) { Collections . sort ( individuals , comparator ) ; }
sorts the individuals in ascending order according to their performance , thus the best one will be in last position .
