CRM-13675 sort pdfs by sort criteria

----------------------------------------
* CRM-13675: Membership activities are unsorted - which is confusing on pdf letters
  http://issues.civicrm.org/jira/browse/CRM-13675