(a)Consolidation of actions in same court. – When actions involving a common question of law or fact are pending before the court, it may order a joint hearing or trial of any or all the matters in issue in the actions; it may order all the actions consolidated; and it may make such orders concerning proceedings therein as may tend to avoid unnecessary costs or delay. An action is pending before the court within the meaning of this subdivision if it is pending before the court on an appeal from a magistrate. (b)Consolidation of actions in different courts. – When two or more actions arising out of the same transaction or occurrence are pending before different courts or before a court and a magistrate, the court in which the first such action was commenced shall order all the actions transferred to it or any other court in which any such action is pending. The court to which the actions are transferred may order a joint hearing or trial of any or all of the matters in issue in any of the actions; it may order all the actions consolidated; and it may make such other orders concerning proceedings therein as may tend to avoid unnecessary costs or delay. Whenever one of the actions is pending before a magistrate and a judgment is rendered by the magistrate for $15.00 or less, such judgment of the magistrate shall in no manner affect the other action pending in the court; the doctrine of res judicata shall not apply to such judgment, nor shall any such judgment of the magistrate be admissible in evidence in the trial of the other action pending in the court. (c)Separate trials. – The court, in furtherance of convenience or to avoid prejudice, or when separate trials will be conducive to expedition and economy, may order a separate trial of any claim, cross-claim, counterclaim, or third party claim, or of any separate issue or of any number of claims, cross-claims, counterclaims, third-party claims, or issues, always preserving inviolate the right of trial by jury as declared by Article III, Section 13 of the West Virginia Constitution or as given by a statute of this State.