Maybe make it a pref or something then? Because pigmen swords are mostly enchanted and it would be a real major hassle to sort those individually.
I lost an eff6 pick to salvage so I know the pain, but maybe make it a pref or an "unsalvage" enchant or something.