(d)An order under section 22 directing or refusing to direct the refund of any excess realized in execution of a decree; (e) An order under section 23, section 23A or section 23B setting aside or refusing to set aside any sale or foreclosure of immovable property;