}
for (SeverityBasedTextAttributes attributes : values) {
order.add(attributes.getSeverity());
}
ContainerUtil.sort(order);
<BUG>List<String> result = new ArrayList<String>(order.size());
for (HighlightSeverity severity : order) {
result.add(severity.toString());
}
return result;
</BUG>
}

}
@Override
public int compare(final HighlightSeverity s1, final HighlightSeverity s2) {
TObjectIntHashMap<HighlightSeverity> order = getOrder();
return order.get(s1) - order.get(s2);
}
