List<NEATGenome> list = new ArrayList<NEATGenome>();
list.add(genome1);
list.add(genome2);
list.add(genome3);
Collections.sort(list,new SortGenomesForSpecies(train));
Assert.assertTrue(list.get(0)==genome3);
Assert.assertTrue(list.get(1)==genome2);
Assert.assertTrue(list.get(2)==genome1);
}