At the United Nations General Assembly, US President Donald Trump took aim at the core of the post-World War II global order.