Fixes catalog PDF sort

Resolves GitHub issue #1029.
Merge pull request #1054 from learning-unlimited/issue_1029

Fixes catalog PDF sort