The most common writ petitions filed are either for a certiorari to quash an order or a mandamus to direct a public authority ...