modyfied sort colors