In all cases not provided for in section 580.09, if, after sale of any real estate, made as herein prescribed, there remains in the hands of the officer making the sale any surplus money, after satisfying the mortgage, with interest, taxes paid, and costs of sale, the surplus shall be paid over by such officer, on demand, to the mortgagor, the mortgagor’s legal representatives or assigns.