implement sort function
Merge branch 'master' of https://github.com/ischweizer/phdpapertool