pub fn compact_metric_prefixes(prefixes: &mut Vec<String>)
Sorts literal prefixes and removes duplicates and prefixes covered by another prefix.