Sorting table of contents entries by title instead of by filename (which is silly)