sort tooltips and colors