N.Y. Civil Practice Law & Rules § 5107
The court may require the sheriff to convey real property in conformity with its directions.