Fixed sorting by color, attempting to integrate colors with iPad.