Sort solution by its respective fitness
sortSolution(s, f)
s
Problem solution
f
The function evaluation for s