concurring: While I fully concur in the foregoing decision and the reasons assigned, I think members of the bar are entitled to have the court clarify its position on the point of appellate procedure here presented.
One reading the recent decisions of this court on the point under consideration might well conclude the court treats each case as sui generis, under the guise of looking through form to substance, thereby unduly inviting appeals at the procedural stage of a case.
In effect the decision of the court herein overrules In re Estate of Shirk, 188 Kan. 513, 363 P. 2d 461, which held in substance that an order overruling a motion to strike separately numbered defenses from an answer was appealable. Question is also cast upon the reliability of Vakas, Administratrix v. Collins, 189 Kan. 178, 368 P. 2d 271, which followed the reasoning in Shirk. In my opinion the court should frankly recognize this fact by overruling Shirk and by further explaining Vakas.
The rule which has repeatedly been asserted in this jurisdiction, and one which has, with few exceptions, withstood the test of time, is that rulings on motions to strike, regardless whether such motions have been sustained or overruled, rest in the sound discretion of the trial court and are not appealable under G. S. 1949, 60-*3353302 and 60-3303, unless they are final, affect a substantial right, or in effect determine the action. This is the acid test.
The foregoing rule is derived from the code of civil procedure itself. Under G. S. 1949, 60-3302, provision is made for appeal to the Supreme Court under four classifications, only two of which are involved in cases of this type — “First—A final order. Second — An order . . . that sustains or overrules a demurrer.” Under G. S. 1949, 60-3303, a final order is defined as “an order affecting a substantial right in an action, when such order in effect determines the action and prevents a judgment.”
A demurrer is a pleading (G. S. 1949, 60-703), while a motion is is not (G. S. 1949, 60-720). (King v. King, 183 Kan. 406, 327 P. 2d 865; and Dole Irrigation Supply v. Knackstedt, 186 Kan. 143, 348 P. 2d 602.) An order made with respect to a demurrer, whether sustained or overruled, is expressly made appealable by the provision of 60-3302, Second, supra, but an order with respect to a motion to dismiss an action or to strike all or part of a pleading is not. To be appealable such order must be a “final order” as defined in 60-3303, supra.
Cases indicating the disposition of appeals in the various situations encountered by an order with respect to a motion to strike all or part of a pleading, or to dismiss an action, have summarily been reviewed and classified in the dissenting opinion of Vakas, Administratrix v. Collins, supra (p. 188). Without repeating what was there said, reference is made to the discussion therein and to the classification of cases therein cited.
The general rule under the foregoing test is that an order overruling a motion to dismiss an action is not appealable, but there is a recognized exception where the ground for the motion to dismiss the action is want of jurisdiction. (Wright v. Rogers, 167 Kan. 297, 205 P. 2d 1010; Collins v. Richardson, 171 Kan. 152, 230 P. 2d 1018; and Dick v. Drainage District No. 2, 187 Kan. 520, 358 P. 2d 744.) Authorities supporting this general rule are cited in the Dick case where the exception is stated in the following language:
“. . . there have been exceptions where the order overruling a motion to dismiss was considered equivalent to an order overruling a demurrer to the petition based upon the statutory ground set forth in G. S. 1949, 60-705, First. . . .” (p. 524.)
There seems to be logic for this exception in view of the special procedural consideration given the jurisdictional question on ap*336pellate review. (See, Dick v. Drainage District No. 2, supra, and cases cited therein at the bottom of page 524; Curtis v. Kansas Bostwick Irrigation District, 182 Kan. 301, 320 P. 2d 783, and the cases cited therein at page 302; and 1 Hatcher’s Kansas Digest, Appeal and Error, §§ 310 and 312.)
To say that an order with respect to a motion to dismiss an action, or a motion to strike a part or all of a pleading, is appealable because it is in reality “tantamount to a demurrer” or “the equivalent of a demurrer” begs the question. It actually serves no basis upon which to determine the question, and it completely avoids the test to be applied under the code. A study of the court’s decisions will clearly illustrate this point, although a few of the decisions have inadvertently slipped into a trap, citing the dictum in Cow Creek Valley Flood Prevention Ass’n v. City of Hutchinson, 163 Kan. 261, 181 P. 2d 320. (See decisions cited at page 263.) Once the true test has been applied and the order found to be appealable as a result thereof, it may then be said the court treats the order as the equivalent of a demurrer. This is not to say, however, that such recognition supplies the reason.
Each and every order overruling a motion to dismiss an action, or a motion to strike a part or all of a pleading, would be appealable if the controlling question in the case was whether the trial court could again be called upon to re-examine the same question by a subsequent demurrer lodged against the action, or the pleading, or portion thereof, attacked. It is erroneous to say this is looking through form to substance. This approach ignores the code of civil procedure and the true test to be applied in determining the issue before the court. The court should therefore openly recognize the reasoning applied in the Shirk and Vakas cases to be fallacious.
Actually, in Vakas the court was confronted with an order overruling a motion to dismiss an action. The appellant’s position asserted therein could reasonably be said to have raised a jurisdictional question as to the subject matter of the action under the wrongful death statute, and the result could be justified by the recognized exception in cases of this type heretofore cited.
Two cases cited by the appellant to support her argument that the order in the instant case is appealable are Collins v. Richardson, 168 Kan. 203, 212 P. 2d 302; and Johnson v. Killion, 179 Kan. 571, 297 P. 2d 177. In each of these cases the trial court sustained a motion to strike certain allegations from an answer, as distinguished *337from an order overruling such motion. In each case the order was held to be appealable and, upon consideration of the merits, the trial court was affirmed. The import of these decisions is that the respective defenses set up in these answers were properly stricken by the trial court, thus indicating they were not meritorious.
In the Collins case the answer stricken sought to have a written trust agreement reformed, which the court said, standing alone, would constitute a cause of action. This claim, the court held, was barred by the statute of limitations long before the action was filed. It could be argued with some merit that this was equivalent to an order sustaining a motion to dismiss an action. Insofar as the order striking this defense is concerned, it was final. As authority for the appealability of the order the court cited the misleading dictum in the Cow Creek case, which in turn cited Miller v. Whistler, 153 Kan. 329, 110 P. 2d 744; In re Estate of Reed, 157 Kan. 602, 142 P. 2d 824; and Funkhouser Equipment Co. v. Carroll, 161 Kan. 428, 168 P. 2d 918. In each of these decisions the trial court sustained a motion to strike a meritorious defense from an answer. In other words, the trial court sustained a motion to strike which was held to be an appealable order, and upon looking into the merits of the stricken defense, the trial court was reversed. These orders were final in that they affected a substantial right and were held appealable.
In Johnson v. Killion, supra, the stricken allegations of an answer set up a defense which was held to have no basis in the law; nevertheless, the order sustaining a motion to strike was held appealable, citing the Collins case. It could be said that as to this particular defense the order was final, although the stricken defense was not meritorious.
Compare the Johnson case with Lee v. Johnson, 186 Kan. 460, 350 P. 2d 772; and Klepikow v. Wilson, 189 Kan. 66, 366 P. 2d 800. In each of these cases the trial court also sustained a motion to strike portions of the defendant’s answer. These orders were held not to be appealable. The well-reasoned opinions in these cases applied the usual test and upon the facts presented found the orders were not final within the contemplation of the code.
It is therefore respectfully submitted that In re Estate of Shirk, supra, should be overruled, and that decisions which apply reasoning inconsistent with the true test to be applied in cases of this type should be disapproved.