A writ is an order in writing issued by a competent official in a judicial proceeding and, as applied to execution in civil cases, is part of the remedy to effectuate the action by the enforcement of the judgment..