Use a LinkedHashSet instead

preserves the order in which elements are inserted