When possession of lands is wrongfully withheld after expiration of the time of redemption, the court may compel delivery of possession to the party entitled thereto by order directing the sheriff to effect such delivery.