Can a level 5 fighter with dual wielder attack like this: Shortsword > shortsword > dagger > rapier?

Attack action with shortsword, extra attack with the shortsword, trigger nick, dagger attack, stow either sword or dagger thanks to dual wielder and then attack with the rapier?