Deductions & credits

the children lived equal time in both houses in Dec 2021 after we separated .... what is the next tie breaker? Is it AGI?