fixed issue #520
fixed PEP8 errors.
Merge pull request #524 from AnishShah/iss520

fixed issue #520 - sorting bookmarks in descending order while exporting