String (String s) { if (s.equals(InspectionsBundle.message("group.names.user.defined"))) { return " " + InspectionsBundle.message("group.names.user.defined"); // sort at the top } if (s.isEmpty()) { return s; } while (!Character.isLetterOrDigit(s.charAt(0))) { s = s.substring(1); if (s.isEmpty()) { return s; } } return s; }