function cleanData(originalData) {
            const newData = {
                ranges: [...originalData.ranges].sort().reverse(),
                measures: [...originalData.measures].sort().reverse(),
                markers: originalData.markers.length ? [...originalData.markers].sort().reverse() : [],
                subtitle: originalData.subtitle,
                title: originalData.title
            };

            ({title, subtitle, ranges, measures, markers} = newData);

            return newData;
        }
Cleaning data casting the values and names to the proper
type while keeping the rest of properties on the data. It
also creates a set of zeroed data (for animation purposes)
@param   {BulletChartData} originalData  Raw data as passed to the container
@return  {BulletChartData}               Clean data
@private