The court shall determine custody in accordance with the best interests of the child.
[1987 c 460 § 38.]