Let's save bibtex entries sorted

Now we save bibtex entries sorted by the entry key. It helps to
keep the database file 'ordered'. It may be useful if somebody
wants to track the file in version control...
Fixes SF bug #92.