added color sorting inputs to let the user choose between hue, saturation or lightness.