If the sheriff sells real estate, under and by virtue of an execution or order of court, the sheriff, or his or her successors in office, shall execute and deliver to the purchaser or purchasers all deeds and conveyances required by law and necessary for the purpose, and those deeds and conveyances shall be valid in law as if they had been executed by the sheriff who made the sale. The deeds and conveyances may be recorded electronically pursuant to Chapter 2 (commencing with Section 263) if they comply with the Electronic Recording Delivery Act of 2004 (Article 6 (commencing with Section 27390) of Chapter 6 of Part 3 of Division 2 of Title 3 of the Government Code).
Ca. Civ. Proc. Code § 262.4