Help me decide the optimal order to learn spells