adds an incremental (i.e. can be run for any duration, and will make progress in the DB) patent-text-sorter