President Donald Trump has signed an executive order aimed at safeguarding the Second Amendment rights of American citizens.