title_sort is defined in Python, it basically removes the prepositions from in fromt of the title so that when you sort on title calibre ignores leading prepositions. You can easily create a database connector to a sqlite database in C/Perl that defines this function. All the python functions/aggregators used in the database are defined in sqlite.py file in the calibre source
|