Secondary sorting for printing in Bookcase

Someone emailed me about doing additional sorting of the printed output for Bookcase. The printed output is formatted according to an XSLT document, so modifying that file will change the printout.

If you want to do a secondary sort, you can add 2 lines to the bookcase-printing.xsl file which is probably installed under /usr/local/share/apps/bookcase/ or somewhere similar. You can copy the installed file to $KDEHOME/share/apps/bookcase and then add something like

       <xsl:sort select="bc:title"/>

after the <xsl:sort at line 235 and again at line 245. That should do secondary sorting by title. I’ll see about adding a UI preference for this for the next big version.