Sort bibtex entries
Delete trailing whitespace and Ctrl-M characters