Here we will see Section 9 of The Partition Act.
Saving of power to order partly partition and partly sale.— In any suit for partition the court may, if it shall think fit, make a decree for a partition of part of the property to which the suit relates and a sale of the remainder under this Act.