Sort all the curves before fitting, does it make any difference?