There are some normalization transforms which allow you to ASCII sort call numbers.  A quick search gives me:

The Alma system (from Ex Libris) has a normalization algorithm for their analytics, described at

A program lccnorm,

A ruby gem, lcsort:

I also see modules for Perl, Python, and others.

					Steve McDonald
					[log in to unmask]

-----Original Message-----
From: Code for Libraries <[log in to unmask]> On Behalf Of Kun Lin
Sent: Thursday, December 5, 2019 7:13 PM
To: [log in to unmask]
Subject: [CODE4LIB] compare LC call number

Is there any good existing scripts of comparing LC call numbers to determine which one should come first? Javascript or PHP.

Thanks a lot


Kun Lin

Systems and Application Librarian

Whitman College

PGP Public Key