Fix issue when sorting companies in VizJS using a metric