def _sort_tp_file(<EOL>self,<EOL>taskpaperPath):
self.log.info('<STR_LIT>')<EOL>self.log.info("<STR_LIT>" % locals())<EOL>doc = document(taskpaperPath)<EOL>doc.tidy()<EOL>doc.sort_tasks(self.settings["<STR_LIT>"])<EOL>doc.sort_projects(self.settings["<STR_LIT>"])<EOL>doc.save()<EOL>self.log.info('<STR_LIT>')<EOL>return None<EOL>
*sort individual taskpaper documents*

        **Key Arguments:**
            - ``taskpaperPath`` -- path to a taskpaper file

        **Return:**
            - None