Fix CMS sort for partitioned bibliographies