Ask your DM
I mean legal in game methods of doing so.
I can't think of a way off hand.
Ranger spells pretty well suck, though- you won't be missing much if you lose out on most or all of them. (I'm assuming the mystic sword of the arcane order is an int-dependent spellcasting prestige class?) If you need spellcasting to get in, you can prolly make due with an 11 Wis just to get that first-level spell.