Whenever a complaint is filed for the foreclosure or satisfaction of a mortgage, the court has the power to decree a sale of the mortgaged premises, or such part thereof as may be sufficient to discharge the amount due on the mortgage, and the cost of suit.
Neb. Rev. Stat. §§ 25-2138