Our sages, of blessed memory, said in Bava Batra (Bava Batra 14b): The order of the Prophets is: Joshua, Judges, Samuel, Kings, Jeremiah, Ezekiel, Isaiah, the Twelve. And the order of the Writings is: Ruth, Psalms, Job, Proverbs, Ecclesiastes, Song of Songs, Lamentations, Daniel, the Scroll of Esther, Chronicles. And they did not follow the chronological times in this, for Isaiah preceded Jeremiah and Ezekiel. Rather, because Kings ends with destruction, and Jeremiah is also destruction—we place them adjacent to one another, as the reasons for the adjacency to one another are explained in the Gemara there. And so too regarding the Writings, see there. And know that the open and closed sections in the Prophets and Writings have not been clarified for us, for they were not clarified in the Masorah, and also the Rambam did not clarify them. And know that there are those who forbid writing mundane matters in Ashurit script, but the practice is not so. And the reason is as our sages, of blessed memory, said: Mundane matters may be spoken in the holy tongue—and consequently the same law applies to Ashurit script. And also regarding what has been explained that it is permitted to join the Torah, Prophets, and Writings as one, it is explained in the Gemara that in such a case one does not make two rollers, but only one roller at its end, and at its beginning one leaves blank parchment to wrap around the entire circumference. (And regarding writing Ashurit in mundane matters—it will be further explained in the next siman.)
אמרו חכמינו ז"ל בבבא בתרא (בבא בתרא יד ב): סידרן של נביאים: יהושע, שופטים, שמואל, מלכים, ירמיה, יחזקאל, ישעיה, תרי עשר. וסידרן של כתובים: רות, תהלים, איוב, משלי, קהלת, שיר השירים, קינות, דניאל, מגילת אסתר, דברי הימים. ולא הלכו בזה אחר הזמנים, שהרי ישעיה קדים לירמיה ויחזקאל. אלא משום דמלכים סופו חורבן, וגם ירמיה חורבן – סמכינן זה לזה, כמבואר בגמרא שם טעמי הסמיכות זה לזה. וכן בכתובים, עיין שם. ודע דפתוחות וסתומות בנביאים וכתובים לא נתבאר לנו, דבמסורה לא נתבארו, וגם הרמב"ם לא ביארם. ודע שיש אוסרים לכתוב בכתב אשורית דברי חול, ולא נהגו כן. והטעם כמו שכאמרו חכמינו ז"ל: דברים של חול מותר לאומרם בלשון הקודש – וממילא דהוא הדין בכתב אשורית. וגם במה שנתבאר דמותר לדבק תורה נביאים וכתובים כאחת, מתבאר בגמרא דבכהאי גוונא אין עושין שני עמודין רק עמוד אחד בסופו, ובתחילתו מניחין קלף חלק לגול על כל הקיפה. (ובכתיבת אשורית בדברי חול – יתבאר עוד בסימן הבא.)