Reduce order of differential equations to first-order

I am working with differential equations.
Some of my procedures require me to reduce the order of the ODE.
Matlab has an efficient algorithm to do this (here).
My doubt is: is there an algorithm similar to this for Julia?

I think this is the equivalent example: Automatic Transformation of Nth Order ODEs to 1st Order ODEs · ModelingToolkit.jl


Thank you very much!