One way of understanding this is to try to understand which company / factory produced which versions.Why did the IX continue after the VII/VIII?
Supermarine, the parent company produced virtually every version of the Spitfire (except Mk.II)
Westland was brought in to the production scheme early and after 50 Mk.I it switched to Mk.V and then to Seafire production in 1942.
Cunliffe Owen was a major sub-contractor who was later brought in as a second source for Seafire production in 1943.
Then we have the Castle Bromwich Aircraft Factory, a shadow factory built in 1936-40
Castle Bromwich Assembly - Wikipedia
en.m.wikipedia.org
It was set up for mass production and built a progression of types. Starting with Mk.II from June 1940, it moved on to Mk.Vb/Vc and then the IX/XVI, all building on the versions that preceded it, or that were sometimes initially built in parallel. The plan was then for it to move to the intended next mass produced version, the Griffon engined F.21/22 from late 1944.
The Griffon engined Mk.XIV & XVIII were only ever intended to be produced short term pending the arrival of the fully sorted F.21 with the new aileron and wingtip shape designed to restore some of the Spitfire's manoeuvrability. That took much longer to sort out than anticipated with the result that the first F.21 squadron didn't receive its aircraft until March/April 1945. That was 91 squadron followed by 1 squadron in May. So pending full production of the F.21/22 CBAF continued producing Mk.IX/XVI to keep the workforce together.
You will find plenty of information on individual Spitfire contracts here
contract summary
www.airhistory.org.uk
And a searchable Spitfire database here
The Mk.IX was initially only intended as a stopgap to get the Merlin 60 engine into a Mk.V airframe as a matter or urgency in 1942. The intention was that the fully refined Merlin 60 version would be the Mk.VIII. As it turned out, the performance difference was negligible so CBAF kept producing it rather than have the disruption of making more changes to the production line by switching to the Mk.VIII.
You will find notes about the various Spitfire versions here.
List of Spitfire and seafire marks along with recognition points
dingeraviation.net