The order is in response to a lawsuit that says the freezing of billions of dollars in already approved funding violates the law.