¶1delivered the opinion of the Court
¶2A jury convicted appellant of four sexual assaults against three victims and sentenced him to eighteen years of imprisonment in each case. The trial judge ordered some of the sentences to run concurrently and some to run consecutively. One of the sentences that was stacked was not eligible for stacking. This case presents the question of the proper remedy when one of a series of sentences is improperly stacked and *650whether it matters where in the series the improperly stacked sentence appears. We reform the trial court’s judgment to reflect that the improperly stacked sentence is not stacked and that the two sentences involving different victims are stacked. We also reform the sequence of stacking to conform to the trial judge’s oral pronouncement of sentence.
¶3I. BACKGROUND
¶4A. Trial
¶5Appellant worked at a Texas Youth Commission facility. The evidence showed that appellant sexually assaulted three children who were staying at that facility. One of the children, A.S., was seventeen years old at the time of the sexual assaults. The other two children, N.P. and C.C., were under age seventeen at the time. In one indictment, appellant was charged with multiple sexual assaults against N.P. In another indictment, appellant was charged with one sexual assault against A.S. and one against C.C. Appellant was convicted of two counts of sexual assault against N.P. and one count each for A.S. and C.C. On each count, the jury assessed a punishment of confinement for eighteen years.
¶6The trial judge then asked for the parties’ positions on whether the sentences should be served concurrently or consecutively. The State urged the judge to make all of the sentences consecutive. Appellant urged the judge to make all of the sentences concurrent. The trial judge stated that he would order the sentences in the two counts involving N.P. to be concurrent with each other. With respect to the sentences for the counts involving A.S. and C.C., the judge stated that they would “run consecutively with each other,” and the sentences for counts involving N.P. would “run consecutively to the others.” As a result, the trial judge said that there would be “three consecutive eighteen-year terms.”
¶7The trial judge then asked if there was any legal reason why the sentences should not now be pronounced. Defense counsel responded that there was no legal reason. The judge then stated:
It’s the sentence of this Court, [appellant], that you serve the 18 years in the manner that I’ve pronounced, the stacking of the two [N.P.] judgments on top of the two counts in the other case, so that each victim will have what I deem to be appropriate justice in this matter, but I’m not going to stack the two within itself with the one for the reasons that I’ve stated. But the sentences will then run as indicated, stacking the two main cases and the two counts in addition as reflected.
¶8The trial judge entered a judgment for each indictment, and each judgment contained the following written cumulation order:
The sentence imposed in Cause # CR19690 as to Count I [A.S.] shall begin when the judgment in the sentence imposed in Cause # CR18971 [N.P.] has ceased to operate. The sentence imposed in Cause # CR19690 as to Count II [C.C.] shall begin when the judgment in the sentence imposed in Cause # CR19690 Count I [A.S.] has ceased to operate.1
¶9Thus, under the oral pronouncement the two concurrent sentences involving N.P. would be the last in the stacking series but under the written judgment they would be the first in the series.
¶11On appeal, appellant complained that stacking the sentence for the count involving A.S. was error because the relevant statute permitted stacking only if the victim was younger than seventeen. The State conceded error. The court of appeals held that the appropriate remedy was to modify the trial court’s judgments “to delete the language ordering cumulation of the sentence involving A.S.”
¶12II. ANALYSIS
¶13Chapter three of the Texas Penal Code allows for offenses arising out of the “same criminal episode” to be tried in the same criminal action.
¶14With respect to the issue before us, the language of the relevant portions of chapter three is unambiguous.
¶15Appellant contends that the court of appeals erred in rewriting the trial judge’s cumulation orders. He claims that the sentence relating to A.S. was in the middle of the stacking order, and when it is deleted, there remains no order stacking the *652sentence relating to N.P. onto the sentence relating to C.C. Thus, he claims, the proper remedy is to delete all of the cumu-lation orders. The State contends that the court of appeals was correct to modify the cumulation orders to delete the improper cumulation of the sentence for the count involving A.S., but the State suggests that further modification may be required because the sequence in which the sentences were stacked in the written judgments varies from their sequence in the trial court’s oral pronouncement.
¶16We first observe that the court of appeals’s remedy does not entirely fix the error in the trial judge’s cumulation orders. Under the court of appeals’s revised orders, the sentence for the count involving A.S. still impermissibly runs consecutive to the sentences for the counts involving N.P.
¶17Further, as the State suggests, the written cumulation order differs from the trial court’s oral pronouncement of sentence, although it is unclear whether that difference would have any practical effect on appellant’s incarceration. Under the written cumulation order, the sentences for the counts involving N.P. are the first in the stacking sequence, but in the trial court’s oral pronouncement they are last in the stacking sequence. The general rule that a trial judge’s oral pronouncement controls over the written judgment applies to cumulation orders.
¶18But the trial judge’s oral pronouncement suffers from some lack of specificity regarding the sequence of stacking. The sentences for the counts involving N.P. are clearly last, but it is not clear where in the sequence the sentences for the counts involving A.S. and C.C. fall. Unlike in the written orders, the sentence relating to A.S. does not clearly fall between the other sentences. If a cumulation order is not sufficiently specific, a remand may be permitted to allow the trial judge to remedy the matter,
¶19*653The remaining question is whether the judgment can be reformed to accomplish this intent or whether the cumulation order must be deleted in its entirety. When part of a cumulation order is illegal, the remedy is to delete the illegal portion.
¶20We conclude here that only part of the trial judge’s cumulation order is illegal— the inclusion of the sentence for the count involving A.S. in the sequence of stacked sentences. If we had any doubt about what the trial judge intended to do, we would remand these cases to him to reform the cumulation order. But it is clear from the oral pronouncement what his intent was. Therefore, in conformity with the trial judge’s oral pronouncement and with the law, we reform the cumulation order to delete the sentence for the count involving A.S. from the sequence of stacked sentences and to stack the sentence for the counts involving N.P. upon the sentence for the count involving C.C. As a consequence of our reformation, the cumulation order in each of the judgments is ordered to read as follows:
The sentence imposed in Cause # CR19690 as to Count I shall begin immediately. The sentence imposed in Cause # CR19690 as to Count II shall begin immediately. The sentences imposed in Cause # CR18971 shall begin when the judgment in the sentence imposed in Cause # CR19690 Count II has ceased to operate.
¶21We so reform the trial court’s judgments and otherwise affirm the judgments of the courts below.
¶22. Bracketed material added to aid the reader.
¶23. Sullivan v. State, Nos. 11-10-00027-CR & 11-10-00028-CR, 2011 WL 4502498 at *4 (Tex.App.-Eastland September 29, 2011) (not designated for publication).
¶28. Id., § 3.03(b)(2)(A).
¶29. See Boykin v. State, 818 S.W.2d 782, 785 (Tex.Crim.App.1991) (Courts must give effect to the plain meaning of the statutory text unless the language is ambiguous or leads to absurd results that the legislature could not have possibly intended).
¶30. See Tex. Penal Code § 3.03(b).
¶31. Ex parte Madding, 70 S.W.3d 131, 135-36 (Tex.Crim.App.2002).
¶33. Morris v. State, 301 S.W.3d 281, 296 (Tex.Crim.App.2009); Beedy v. State, 250 S.W.3d 107, 114 (Tex.Crim.App.2008).
¶34. Neither party discusses the possibility that the two sentences relating to N.P. might have been stacked (so that there would still be three consecutive eighteen-year sentences) if the trial judge had known that the sentence relating to A.S. was not subject to being stacked. With respect to that possibility, the court of appeals's decision to reform the cu-mulation order is a holding adverse to the State. The State did not file a petition for discretionary review suggesting that the court of appeals should have remanded the case to the trial court to consider stacking the two sentences relating to N.P. Consequently, we have no occasion to address whether this case could have been remanded for that purpose or whether Moms would bar such an outcome.
¶35. Morris, 301 S.W.3d at 295-96.
¶37. Id. at 294-95.
¶40. Id. See also Rhodes v. State, 240 S.W.3d 882, 889 (Tex.Crim.App.2007) (discussing an appellate court's ability to reform a judgment to delete an illegal cumulation order or impose a cumulation order required by law).