fixed sorting for general colors