Salam. I found this following brief point of interest:
Ever been at a loss as to how to stack up your books? Well some of the Hanafi scholars mentioned something in regards to this matter. They said as in the ‘Dur al-Mukhtar’ and ‘Hashiyah Ibn Abidin’ on it (1/119):
First at the bottom should be placed the books of Arabic grammar and language, then the books relating to dream interpretation such as the works of Ibn Sirin and In Shahin. This is because of their virtue due to being an interpretation of dreams which are 1/46th of Prophethood.
Then the books of theology (kalam) followed by the books of fiqh, because the majority of works of fiqh’s evidences are from the Quran and Sunnah and therefore many verses of the Quran and Hadith will be mentioned in them. This is different to the case of the books of theology (Ilm al-Kalam) as evidences from the Quran and Sunnah are mainly to be found the ‘al-Samiyat’ chapter of theology works.
Then on top would be the books of narrations and sermons (Akhbar wal-Mawaiz), then the books of Explanation of the Quran (Tafsir). And finally at the top of all of them would be a copy of the Quran (Mushaf).
Source: Al-Mawsuah (34/184)