Sort an array containing hex color codes in order of saturation. This is useful for sorting colors by saturation.