Subject to the provisions of this article, the court may make any order relating to custodial arrangements which is in the best interests of the child. The order shall provide one of the following legal custody arrangements, in the order of preference:
K.S.A. 23-3206