I am currently designing a DnD-5e campaign and am after certain effects of magic items to be held by particular NPCs or monsters. I've looked through the DMG at the multitude of magic items in here and believe some of these would be the kinds of thing I am after, however searching through the umpteen pages of magic items in alphabetical order is nigh-impossible if I'm after something in particular with a particular effect.
Is there any resource that lists all the pre-made magic items by their effects, rather than in an alphabetical list? What do other GMs do if they want to find something to add flavour without memoirzing every item?
For instance, say I have an NPC who has a strong affinity to fire, I may be after a fire-based magic item. If I were to search through the DMG I could go to the "Staff" sections and find a useful thing there, or maybe look under "Fire" to find any items that begin with that word. But how can I easily find any items that do not begin with these letters?