The historical scriptural format looks more like this:
Gen Ex Lev Num Deut
Josh-judges (1 book), book of the Kings (1&2 kings)
Isa Jer Ezekiel
the 12 minor prophets: Hosea Joel Amos... etc.
psalms prov job
song ruth lamentations
daniel ezra-nehamiah (1 book) chronicles
...so that, at the end of the "OT" we have 22 books, the number of letters in the hebrew alphabet...
the gospels & Acts:
Matt mark luke john
the general epistles (placed 1st):
Jacob(James) 1Pete 2Pete 1John 2John 3John Juda
the epistles of Paul:
Rom 1Cor 2Cor Gal
Eph Phil Col
1Tim 2Tim Titus Phil
thus, there are 49 books. 22 "old", 5 gospels+Acts, and 22 "new".