Simple JavaScript app that sorts colors based on RGB values