Any range being used as a mixed cattle and sheep range may be apportioned and divided between the different classes of livestock, that is cattle or sheep, grazed thereon by the district court having jurisdiction whenever a controversy or dispute arises upon complaint of any interested party using said range. Upon final hearing, any such range shall be apportioned according to the requirements of the different kinds of livestock grazed or herded thereon and the nature of the different parts of the range to be apportioned and in accordance with the equities and rights of the owners of the different kinds of livestock using such range as a class, regard being paid to the extent of the user theretofore made by each class of livestock growers.