Every court of record shall have power to punish as for criminal contempt persons guilty of:
(1) Disorderly, contemptuous or insolent behavior committed during its session, in its immediate view and presence, and directly tending to interrupt its proceeding or to impair the respect due to its authority;
(2) Any breach of the peace, noise or other disturbance directly tending to interrupt its proceedings;
(3) Willful disobedience of any process or order lawfully issued or made by it;
(4) Resistance willfully offered by any person to the lawful order or process of the court;
(5) The contumacious and unlawful refusal of any person to be sworn as a witness, or, when so sworn, to refuse to answer any legal and proper interrogatory.