A final judgment confirming a sale shall direct the officer making it to execute the proper conveyances and take the proper securities pursuant to the sale, and also direct application of the proceeds.