For A13 build, you need to be on C33 firwmare or higher. And, you will have to format data for sure if you flash the A13 build. Instructions are on the wiki - https://nameless.wiki/
Btw, I am not sure about 12.1-20220823-2345 build but if I were you, I would go with A13 as it's awesome! Flashed A13 couple of days ago after installing C35 firmware and format data and it's one heck of a ROM. Smooth and performance is way better than I expected for the first build.