* changing the "first ranked feasible mode" to get the modes in order by its duration