The current spellbook UI queues spells to be learned in the order they appear in the spellbook, rather than the order they were selected. More properly, spells should be queued to be researched in the order they were selected by the user.
Currently: User selects to learn Fireball -> Firebolt -> Spell level 2
User learns Spell level 2 -> Firebolt -> Fireball
Should be: User selects to learn Fireball -> Firebolt -> Spell level 2
User learns: Fireball -> Firebolt -> Spell level 2