Vulpes trait question

Many Vulpes traits mention the “first three X Spell Gems”. Does this mean “any X Spell Gems in the first three slots”? Or “the first three X Spell Gems, regardless of the exact slot?”