Why are these TreeSets and not HashSets? Is ordering really important here?