trim added and colors sorted