sorting out the curves 

sorting out the curvesĀ