Not clear. With
order=sortperm(OF)
you already have Sol in the order you want it to be:
julia> Sol[order]
2-element Vector{Vector{Int64}}:
[3, 6, 10, 9, 7, 8]
[4, 1, 5, 2]
What do you mean with
I would have to sort Sol such that…
Not clear. With
order=sortperm(OF)
you already have Sol in the order you want it to be:
julia> Sol[order]
2-element Vector{Vector{Int64}}:
[3, 6, 10, 9, 7, 8]
[4, 1, 5, 2]
What do you mean with
I would have to sort Sol such that…