fixup works with rebase if you add the -a flag for autosquash. try it and you’ll see the commits already reordered for you in the interactive menu.
also you can write HEAD~2 as @^^ if you want to save a couple keystrokes!
also you can write HEAD~2 as @^^ if you want to save a couple keystrokes!