US President Donald Trump on Wednesday issued an executive order to prevent transgender athletes from participating in girls and womens sports unless they were assigned female at birth, The New York Times reported.