The Supreme Court did nothing except deny a stay. The district judge issued an injunction. (And yes, writs of mandamus are still used in the federal courts, but generally only by the appellate courts.)
Then the article wrongly asserts that the Supreme Court issued an order.