What happens when you press the hotkey? Does it always go into your right hand first? So to equip two different weapons/spells, you'd need to press the first hotkey twice and the second one once?
You can't dual wield through hotkeys. When you hit the hotkey for your sword it goes to the main hand, hit it twice it doesn't switch it unequips. If you have a sword and magic or sword and board equipped your weapon hotkeys only change your mainhand. You have to go into your menu/favorites and equip it manually.