Skip to main content
ExLibris
Ex Libris Knowledge Center

How to sort library names according to alphabetical order in Primo?

  • Product: Primo
  • Product Version: All
  • Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare

 

Question

How to sort library names according to alphabetical order?

Answer

For example, In this article, we will consider Icelandic alphabets. All diacritics can be sorted right after their non-diacritic counterpart by using Decomposed Unicode characters in the Library names instead of composed Unicode characters.

For example: A with Combining acute agent

Composed Unicode character: Á is encoded as (single character)
U+00C1 : LATIN CAPITAL LETTER A WITH ACUTE

Decomposed Unicode charter: Á is encoded as (Two different characters)
U+0041 : LATIN CAPITAL LETTER A
U+0301 : COMBINING ACUTE ACCENT {stress mark; Greek oxia, tonos}

In the BO - using the decomposed characters in the library name will help you to achieve this.
Primo Home > Advanced Configuration > All Code Tables
Sub System : Delivery
Table name: Library Names

Replace the composed character with decomposed characters.

For example:
Árbæjarskóli to Árbæjarskóli
Áslandsskóli to Áslandsskóli

Save and deploy changes.

 

Additional Information
Test link: You can test if a character is composed or decomposed using this link,
https://www.babelstone.co.uk/Unicode/whatisit.html

By appearance, both names looks the same, but encoding makes the difference. Open test link for more understanding.

To understand Composed Unicode character (single character):
Á - Copy paste this character in the field and identify the code

To understand Decomposed Unicode character (two characters):
Á - Copy paste this character in the field and identify the code

 

 

 


  • Article last edited: 06-Jun-2020