The correct answer is: B. Certiorari
A writ of certiorari is an order from a higher court to a lower court to send up the record of a case for review. It is used to correct errors in lower court decisions.
A writ of mandamus is an order from a court to a government official or other person to perform a certain act. It is used to compel the performance of a legal duty.
A writ of quo warranto is an order from a court to a person to show by what authority he or she is holding a public office. It is used to remove someone from office who is not legally entitled to hold it.
A writ of habeas corpus is an order from a court to a person who is holding another person in custody to bring the prisoner before the court to determine whether the prisoner is being held lawfully. It is used to release someone who is being held in custody illegally.
In the case of an order of an authority being quashed, the writ of certiorari is the most appropriate writ to be sought. This is because a writ of certiorari is used to correct errors in lower court decisions. If an order of an authority is found to be erroneous, the court can quash the order and direct the authority to issue a new order.