Allows you to sort an array of colors from dark to light and reverse.