I think sorted has value here. If we print a list of classes, even for debugging, sorted is way easier to scan. I would use SortedSet over Set if you want to change from String[].