Fixes catalog PDF sort

Resolves GitHub issue #1029.