Funky trie-based system to build tree-view for browsing books.
Sort items with volume numbers first.