A New York state appeals court has ordered former President Trump