I have a Chromosome object :
public List<int> Rotas { get; set; }
public int ValorFitness { get; set; }
And I also have a list of this object List<Cromossomo>
.
I would like to sort this list by the property ValorFitness , in descending order.
I'm using C #, WindowsForm, DotNet 4.5.1