(2) In a proceeding involving a violation or misdemeanor, the prosecution may appeal from:
- (a) An order made prior to trial dismissing or setting aside one or more counts in the accusatory instrument.
- (b) An order allowing a demurrer.
- (c) An order made prior to trial suppressing evidence.
- (d) An order made prior to trial for the return or restoration of things seized.
- (e) An order arresting the judgment.
- (f) An order made after a guilty finding dismissing or setting aside one or more counts in the accusatory instrument.
- (g) An order granting a new trial.