 The state does not have the right to appeal from acquittals or convictions, but may appeal from court orders or judgments that dismiss charges, modify verdicts, grant new trials, quash arrests or search warrants, suppress evidence, suppress confessions or admissions, grant or deny a change of venue, or impose a sentence that is contrary to law.The supreme court may affirm, reverse, or modify any judgment or order appealed from and may direct the proper judgment or order to be entered or direct a new trial or further proceedings to be had.When a lower court's judgment is altered on review of civil matters, the court may order restitution for any property or rights that a party lost due to an erroneous order, either by ordering it directly, or by ordering to District Court to itself order it.