Code of Civil Procedure Article 205
The court may order arguments to be held jointly where the claims in multiple actions are initiated separately but are related or could be asserted in a single action.Arguments of several actions that have been ordered to be held jointly may be decided jointly.An action initiated in accordance with the provision of Article 54 shall be jointly argued and decided with the original action, except where the court considers it unnecessary or considers that the provision of Article 184 shall apply.