When to use ETS and Map?

Could you explain the exact scenario in more details, so we can consider if there’s some opportunity to reframe the implementation so that it doesn’t require an ordered set?